z80:Directives:IF

From Learn @ Cemetech
Jump to navigationJump to search

If the expression evaluates to true (non zero) then the following block of code is assembled until another conditional statement is hit. If it evaluates to false (zero) then the following block of code is skipped until another conditional statement is hit.

Syntax

   .if expression


Allowed inputs

Uses

See Also

[!-- Related directives --] elseif else endif ifdef