IF


Control based on absolute expression (assembly performed when the value is true).

[Syntax]

[]$[]IFabsolute-expression[][;comment]

[Function]

-

If the absolute expression specified by the operand is evaluated as being true ( 0).

(a)

If this control instruction and the corresponding ELSEIF, ELSEIFN, or ELSE control instruction exist, assembles the block enclosed within this control instruction and the corresponding control instruction.

(b)

If none of the corresponding control instruction detailed above exist, assembles the block enclosed within this control instruction and the corresponding ENDIF control instruction.

-

If the absolute expression is evaluated as being false (= 0).

Skips to the ELSEIF, ELSEIFN, ELSE, or ENDIF control instruction corresponding to this control instruction.

[Description]

-

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.