5.3.4
Conditional assembly control instructions
Using conditional assembly control instruction, the CC-RH can control the range of assembly according to the result of evaluating a conditional expression.
The following conditional assembly control instructions are available.
Table 5.17 | Conditional Assembly Control Instructions |
|
|
IFDEF
|
Control based on symbol (assembly performed when the symbol is defined)
|
IFNDEF
|
Control based on symbol (assembly performed when the symbol is not defined)
|
IF
|
Control based on absolute expression (assembly performed when the value is true)
|
IFN
|
Control based on absolute expression (assembly performed when the value is false)
|
ELSEIF
|
Control based on absolute expression (assembly performed when the value is true)
|
ELSEIFN
|
Control based on absolute expression (assembly performed when the value is false)
|
ELSE
|
Control based on absolute expression/symbol
|
ENDIF
|
End of control range
|
The maximum number of nest level of the conditional assembly control instruction is 4,294,967,294 (=0xFFFFFFFE) (theoretical value). The actual number that can be used depends on the amount of memory, however.