This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does this need be defined in two ways in assembly

I use the same value as an assembly control and to change some variables. It seems that in order to do so, I have to define it in one way for conditional assembly and in another way for variables. Is there a way to use the same definition for both purposes ?
$SET (SIGN_PANELS_OUT = 2)
SIGN_PANEL_COUNT equ 2
I can figure out on my own to use the conditional for the variable etc, I am not looking for a workaround, but for ONE defintition TYPE that can be used for both purposes.

Erik

Parents
  • Hans-Bernhard,
    Thanks a bunch, it did the trick

    Jon,
    Cannot do, need switch compilers soon (XA not supported by Keil) because I do not want to have two different syntaxes etc to work with.

    Suggested major improvement of manuals with minor cost:
    improve the index
    Try the assembler manual and look up "IF"

    Erik

Reply
  • Hans-Bernhard,
    Thanks a bunch, it did the trick

    Jon,
    Cannot do, need switch compilers soon (XA not supported by Keil) because I do not want to have two different syntaxes etc to work with.

    Suggested major improvement of manuals with minor cost:
    improve the index
    Try the assembler manual and look up "IF"

    Erik

Children