The MASM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MASM32 Downloads
Home
Help
Search
Login
Register
The MASM Forum
»
Projects
»
Rarely Used Projects
»
GoAsm
(Moderator:
Donkey
) »
Compiler did not catch
« previous
next »
Print
Pages: [
1
]
Author
Topic: Compiler did not catch (Read 4505 times)
shankle
Member
Posts: 868
Compiler did not catch
«
on:
November 01, 2018, 07:00:13 AM »
10-31-2018
Running GoAsm 64-bit.
Swh12 dd 0
mov rcx,[Swh12]
The compiler did not catch this
Swh12 should be defined
Swh12 dq 0
Thought you might want to know
Logged
Yuri
Member
Posts: 179
Re: Compiler did not catch
«
Reply #1 on:
November 02, 2018, 12:50:46 AM »
That is explained in the manual:
Why GoAsm does not type or parameter check
.
Logged
DynamicWrapperX
shankle
Member
Posts: 868
Re: Compiler did not catch
«
Reply #2 on:
November 02, 2018, 01:37:33 AM »
Thank you Yuri for replying.
I stand corrected.
Will in the future have to be more careful about sizes of
items I use. It is sure hard to find your own errors like
the one I made. But now I will be on the lookout for
this kind of error.
Logged
Yuri
Member
Posts: 179
Re: Compiler did not catch
«
Reply #3 on:
November 02, 2018, 04:48:00 PM »
I use prefixes to remind myself of variables' sizes. wMyVar, dwMyVar, qwMyVar — word, double word and quad word respectively.
Logged
DynamicWrapperX
Print
Pages: [
1
]
« previous
next »
The MASM Forum
»
Projects
»
Rarely Used Projects
»
GoAsm
(Moderator:
Donkey
) »
Compiler did not catch