flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [fasmg] Why does this not work? |
Author |
|
jacobly 12 Aug 2017, 05:44
The symbolic variable would only be substituted if the entire identifier (a_foo_b in this case) matched the variable name. Parameter variables, however, get replaced first, and match is the simplest way to create one. Another way which would work is:
Code: foo equ bar a_bar_b = '#' match symbol, foo a_foo_b equ a_#symbol#_b end match display a_foo_b |
|||
12 Aug 2017, 05:44 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.