flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 04 Nov 2012, 03:40
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 04 Nov 2012, 03:50
revolution,
Thank you -- that works perfectly (as long as BOTH symbols are defined with equals). |
|||
![]() |
|
revolution 04 Nov 2012, 04:24
ejamesr wrote: Thank you -- that works perfectly (as long as BOTH symbols are defined with equals). |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.