flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
l4m2
Code: macro d n { local x rept n \{ display x \} } macro f { local x x#0 equ 123 } f rept 61 { d 0 } d 1 f defines x?00 as 123 and d(1) again use the name x?00 |
|||
![]() |
|
l4m2
revolution wrote: Yes, that is correct. You can define labels with the same name as local labels. If that is what you want then I guess you can exploit that behaviour for some purpose? |
|||
![]() |
|
revolution
Unfortunately local naming rules are not defined within fasm, so they could change in the future, and have changed in the past. So keeping that in mind, just try to ensure that your label naming doesn't clash with local naming.
Appending a single 0 (i.e. with "x#0") is where your problem starts. If you included an underscore ("x#_0") or a dot ("x#.0") or similar, then your label name will be fine. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.