Everything

ELSEIF


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

[Syntax]

[Δ]$[Δ]ELSEIFΔabsolute-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.