|ARM Technical Support Knowledge Articles|
Applies to: A51 Macro Assembler
Information in this article applies to:
Is it possible to do conditional assembly with the A51 assembler? If so, why won't statements like the following work?
IF USE_SIMULATION == ENABLED
To create conditional assembly programs, you must use the $IF and $ENDIF directives in your assembly program with symbols you define with $SET or $RESET or symbols you define on the command line. IF does not work with those types of defined symbols. The following code:
$IF (USE_SIMULATION = ENABLED) nop nop nop $ENDIF
should work as expected.
Article last edited on: 2004-06-07 23:36:53
Did you find this article helpful? Yes No
How can we improve this article?