MCUez HC12 Assembler User’s Manual
MOTOROLA Assembler Listing File 209
User’s Manual MCUez HC12 Assembler
Section 10. Assembler Listing File

10.1 Content

10.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
10.3 Page Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
10.4 Source Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
10.4.1 Absolute (Abs.) Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
10.4.2 Relative (Rel.) Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
10.4.3 Location (Loc.) Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
10.4.4 Object (Obj.) Code Listing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
10.4.5 Source Line Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

10.2 Introduction

The assembler listing file is the output file of the assembler, which contains
information about the generated code. The listing file is generated when the –L
option is activated. If an error is detected during assembly, no listing file is
generated.
The amount of information available depends on these assembly options:
-Li, -Lc, -Ld, -Le
Information in the listing file also depends on the following assembly
directives:
LIST, NOLIST, CLIST, MLIST
The format of the listing file is influenced by these directives:
PLEN, LLEN, TABS, SPC, PAGE, NOPAGE, TITLE
The name of the generated listing file is <basename>.lst.