Abbreviation |
None. |
Arguments |
A numeric expression. |
Default |
None. |
Description |
The IF control
begins an IF-ELSE-ENDIF construct
that is used for conditional assembly of 8051 program
code. The specified numeric expression is evaluated, and
if it is non-zero (TRUE), the IF block is
assembled. If the expression is zero (FALSE), the IF block
is not assembled, and the subsequent blocks of the IF construct
are evaluated. |
NOTES |
The A51
assembler generates a fatal error if the number of ENDIF
control statements does not equal the number of IF control
statements. |
See Also |
.
.
.
$IF (DEBUG_VAR = 3)
Version_3: MOV DPTR, #TABLE_3
.
.
.
$ ENDIF
.
.
.