flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 12 Oct 2016, 19:48
There is a difference. Without a colon the label will be tagged with the data size.
Code: my_area1 db 12 dup 0 my_area2: times 12 db 0 mov eax,[my_area1] ;<--- size not matched, cannot assemble mov eax,[my_area2] ;<--- no size check done, will assemble |
|||
![]() |
|
jorido 23 Jan 2017, 18:27
which is more common or recommended?
|
|||
![]() |
|
Trinitek 23 Jan 2017, 19:30
jorido wrote: which is more common or recommended? |
|||
![]() |
|
neville 24 Jan 2017, 04:29
jorido wrote: which is more common or recommended? _________________ FAMOS - the first memory operating system |
|||
![]() |
|
revolution 24 Jan 2017, 04:44
For me I prefer size checking. And when I need to access with a different size I use the size overrides. This way I know when I am accessing at a different size than what it was declared for.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.