IF:

	IF	expression

If the resulf of the expression is non-zero, the code following the statement is assembled until either an 'else', 'endc' or other conditional directive is encountered. This statement must be terminated by a matching 'endif' directive.



Example:
lodval	equ	$00

	if	lodval
	lda	#$11
	else
	lda	#$22
	endif



See also:
COND, ENDC, IFP1, IFP2, ENDP, IFDEF, IFNDEF, IFN, IFEQ, IFNE, IFGT, IFGE, IFLT, IFLE, ELSE, ENDIF

Compatibility:
CASM X
CCASM X
OS-9 RMA X
Edt/Asm III X
Edtasm6309 X
Disk Edtasm+ X
Edtasm+ X
Macro-80C X