XRETC COND
6-393
Example ; Return from FuncA if VarA does not equal zero, else set VarB
; to zero and return. This example only works for code located
; in upper 64K of program space:
XCALL FuncA ; Call FuncA
.
FuncA: ; Function A:
.
.
.
.
MOV AL,@VarA ; Load AL with contents of VarA
XRETC NEQ ; Return if VarA does not equal 0
MOV @VarA,#0 ; Store 0 into VarB
XRETC UNC ; Return unconditionally