flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
The problem here is that you are mixing the preprocessor with the assembler. define and equ are preprocessor directives and are processed during the preprocessing pass before the if statements are evaluated by the assembler.
A method to solve this for you is to use the assembler equals (=) instead of define. Code: TEST_1 = 1 if defined TEST_1 ;... |
|||
![]() |
|
ejamesr
revolution,
Thank you -- that works perfectly (as long as BOTH symbols are defined with equals). |
|||
![]() |
|
revolution
ejamesr wrote: Thank you -- that works perfectly (as long as BOTH symbols are defined with equals). |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.