flat assembler
Message board for the users of flat assembler.
Index
> Main > label with a colon question |
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 |
|||
12 Oct 2016, 19:48 |
|
jorido 23 Jan 2017, 18:27
which is more common or recommended?
|
|||
23 Jan 2017, 18:27 |
|
Trinitek 23 Jan 2017, 19:30
jorido wrote: which is more common or recommended? |
|||
23 Jan 2017, 19:30 |
|
neville 24 Jan 2017, 04:29
jorido wrote: which is more common or recommended? _________________ FAMOS - the first memory operating system |
|||
24 Jan 2017, 04:29 |
|
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.
|
|||
24 Jan 2017, 04:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.