Keil™, An ARM® Company

AARM User's Guide

Discontinued

SET Assembler Directive

Abbreviation None.
Arguments SET (symbol « = number » « , symbol « = number » ... »)
Default None.
µVision Options — AA — Set.
Description 

The SET directive assigns numeric values (number) to the specified symbols. Any symbols that do not include an explicit number assignment are assigned the value 0FFFFh. The symbols defined with SET may be used only with the IF and ELSEIF conditional assembly directives. They may not be used directly in assembly instructions.

Note

  • Symbols defined with the SET directive may be used only with the IF and ELSEIF directives. They may not be used with the IF and ELSEIF statements.
See Also DEFINE, ELSE, ELSEIF, ENDIF, IF, RESET
Example 
AA SAMPLE.ASM SET(DEBUG_INFO=3, TEST)

$SET (ITERATION=4, DEBUG_VAR)