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

arm assembler macro help

I'm trying to get some arm assembly code to work with macros. I'm using free download version of keil tools. is the macro language the same syntax for armasm arm tools and free download keil tools?

I wanted to use conditional compile macros like:

    [ "$var1" = ""
    LDR r0, =0x1234
    |
    LDR $var1, =0x1234
    ]

which is a syntax that works with the ARM compiler, but the keil download is giving me an error.

And the error message I get only points to the line that invokes the macro. Is there a way to get the keil free download to output what the code looks like AFTER all the macro substitution is done?

0