LIST - Listing Options

MPASM Assembler

LIST - Listing Options

Syntax

list [<list_option>, ..., <list_option>]

Description

Occurring on a line by itself, the list directive has the effect of turning listing output on, if it had been previously turned off. Otherwise, one of the following list options can be supplied to control the assembly process or format the listing file.

List Directive Options

Option
Default
Description
b=nnn
8
Set tab spaces.
c=nnn
132
Set column width.
f=<format>
INHX8M
Set the hex file output. <format> can be INHX32, INHX8M, or INHX8S.
free
FIXED
Use free-format parser. Provided for backward compatibility.
fixed
FIXED
Use fixed-format parser.
mm={ON|OFF}
On
Print memory map in list file.
n=nnn
60
Set lines per page.
p=<type>
None
Set processor type; for example, PIC16C54.
pe=<type>
None
Set processor type and enable extended instruction set, for example; LIST pe=PIC18F4620
Only valid with processors which support the extended instruction set and the generic processor PIC18CXX. Is overridden by command-line option /y- (disable extended instruction set).
r=<radix>
hex
Set default radix: hex, dec, oct.
st={ON|OFF}
On
Print symbol table in list file.
t={ON|OFF}
Off
Truncate lines of listing (otherwise wrap).
w={0|1|2}
0
Set the message level. See ERRORLEVEL.
x={ON|OFF}
On
Turn macro expansion on or off.

Note: All list options are evaluated as decimal numbers.

Example

list p=17c42, f=INHX32, r=DEC

See Also

ERRORLEVEL EXPAND NOEXPAND NOLIST PROCESSOR RADIX


Microchip Technology Inc.
Microchip's Web Site
Voice: (480) 792-7200
Fax: (480) 899-9210
Microchip's E-mail Address
PreviousNext