Source listing (.lst) format – Zilog Z8F0130 User Manual

Page 306

Advertising
background image

Using the Macro Assembler

UM013037-1212

282

Zilog Developer Studio II – Z8 Encore!
User Manual

Do not use source input files with

.lst

or

.obj

extensions. The assembler does not as-

semble files with these extensions; therefore, the data contained in the files is lost.

Source Listing (.lst) Format

The listing file name is the same as the source file name with a

.lst

file extension.

Assembly directives allow you to tailor the content and amount of output from the assem-
bler.

Each page of the listing file (

.lst

) contains the following elements:

•

Heading with the assembler version number

•

Source input file name

•

Date and time of assembly

Source lines in the listing file are preceded by the following elements:

•

Include level

•

Plus sign (+) if the source line contains a macro

•

Line number

•

Location of the object code created

•

Object code

The include level starts at level A and works its way down the alphabet to indicate nested
includes. The format and content of the listing file can be controlled with directives
included in the source file:

•

NEWPAGE

•

TITLE

•

NOLIST

•

LIST

•

MACLIST ON/OFF

•

CONDLIST ON/OFF

Caution:

Advertising