![](http://datasheet.mmic.net.cn/330000/DSPASMRM_datasheet_16391695/DSPASMRM_146.png)
Assembler Significant Characters And Directives
Assembler Directives
6-60
DSP ASSEMBLER REFERENCE MANUAL
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
LIST
List the Assembly
LIST
Print the listing from this point on. The
LIST
directive will not be printed, but the subse-
quent source lines will be output to the source listing. The default is to print the source
listing. If the
IL
option has been specified, the
LIST
directive has no effect when encoun-
tered within the source program.
The
LIST
directive actually increments a counter that is checked for a positive value and
is symmetrical with respect to the
NOLIST
directive. Note the following sequence:
; Counter value currently 1
LIST
LIST
NOLIST
NOLIST
; Counter value = 2
; Counter value = 3
; Counter value = 2
; Counter value = 1
The listing still would not be disabled until another
NOLIST
directive was issued.
A label is not allowed with this directive.
See also:
NOLIST
,
OPT
EXAMPLE:
IF
LIST
ENDIF
LISTON
; Turn the listing back on
F
Freescale Semiconductor, Inc.
n
.