COND - Begin a conditional assembly segment
:
COND
expression
If the result of the expression is non-zero, the code following the statement is assembled until either an 'else', 'endc' or other conditional statement is encountered. This statement must be terminated by a matching 'endc' directive.
Example:
lodval equ $00 cond lodval lda #$11 else lda #$22 endc
See also:
ENDC
,
IFP1
,
IFP2
,
ENDP
,
IFDEF
,
IFNDEF
,
IF
,
IFN
,
IFEQ
,
IFNE
,
IFGT
,
IFGE
,
IFLT
,
IFLE
,
ELSE
,
ENDIF
Compatibility:
CASM
X
CCASM
X
OS-9 RMA
Edt/Asm III
Edtasm6309
Disk Edtasm+
Edtasm+
Macro-80C