flat assembler
Message board for the users of flat assembler.
Index
> Main > equ $-sym inside a macro does not work as expected |
Author |
|
Tomasz Grysztar 30 May 2019, 19:50
In fasm EQU is a preprocessor's definition (textual replacement). To have a numeric value computed, use "=" instead:
Code: name#.length = $ - name |
|||
30 May 2019, 19:50 |
|
alaa 30 May 2019, 19:55
Thanks a lot! It works now.
|
|||
30 May 2019, 19:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.