User’s Manual MCUez HC12 Assembler
168 Assembler Directives MOTOROLA
Assembler Directives
8.6 CLIST — List Conditional AssemblySyntax: CLIST [ON | OFF]
Description: 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 ON is specified with the CLIST directive, the listing file
includes all directives and instructions in the conditional
assembly block, even those that do not generate code.
When OFFisspecified, only the directives and instructions that
generate code are listed.
When the option –L is activated, the assembler defaults to
CLIST ON.
Example: Listing file with CLIST OFF:
CLIST OFF
Try:EQU 0
IFEQ Try
LDD #1023
ELSE
LDD #0
ENDIF
The corresponding listing file is:
Try:EQU 0
IFEQ Try
37 B5 03 FF LDD #1023
ELSE
ENDIF