5.3.5 Conditional assembly control instructions

Using conditional assembly control instruction, the CC-RL 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.29

Conditional Assembly Control Instructions

Control Instruction

Overview

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.