Keil Logo Arm Logo

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)

Related Knowledgebase Articles

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.