Message board for the users of flat assembler.
> Compiler Internals > bug?
vid 20 Dec 2003, 19:30
once you asked why somebody is using
virtual at something
name dd 0
when he can use
name = dword something
but code like this:
name = dword 400
throws error, "dword" is ignored. It doesnt nor mean
mov [dword name],100
as i first awaited.
Could you explain it please?[/code]
|20 Dec 2003, 19:30||
Tomasz Grysztar 20 Dec 2003, 20:48
No, I meant you can use "label name dword at something", the construction you have used does something completely different, as in this case "dword" operator applies to the size of number itself, not to the size of data that is labelled by this symbol (for example "name=dword not 0" will give you constant 0FFFFFFFFh, while "name=byte not 0" will give 0FFh).
|20 Dec 2003, 20:48||
< Last Thread | Next Thread >
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.