CLIST [ON|OFF]
None
The CLIST directive controls the listing of subsequent conditional assembly blocks. It precedes the first directive of the conditional assembly block to which it applies, and remains effective until the next CLIST directive is read.
When the ON keyword is specified in a CLIST directive, the listing file includes all directives and instructions in the conditional assembly block, even those which do not generate code (which are skipped).
When the OFF keyword is entered, only the directives and instructions that generate code are listed.
A soon as the -L: Generate a listing file assembler option is activated, the Assembler defaults to CLIST ON.
The following listing is an example where the CLIST OFF option is used.
CLIST OFF Try: EQU 0 IFEQ Try LDA #103 ELSE LDA #0 ENDIF
The following listing is the corresponding listing file.
Abs. Rel. Loc Obj. code Source line ---- ----- ------ --------- ----------- 2 2 0000 0000 Try: EQU 0 3 3 0000 0000 IFEQ Try 4 4 000000 A667 LDA #103 5 5 ELSE 7 7 ENDIF
The following listing is a listing file using CLIST ON.
CLIST ON Try: EQU 0 IFEQ Try LDA #103 ELSE LDA #0 ENDIF
The following listing is the corresponding listing file.
Abs. Rel. Loc Obj. code Source line ---- ----- ------ --------- ----------- 2 2 0000 0000 Try: EQU 0 3 3 0000 0000 IFEQ Try 4 4 000000 A667 LDA #103 5 5 ELSE 6 6 LDA #0 7 7 ENDIF 8 8