9 -li – Motorola HC12 User Manual
Page 93

Assembler Options
Assembler Options
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Options
93
5.4.9 -Li
-Li:
No included file in listing file
Group:
OUTPUT
Scope:
Assembly unit
Syntax:
-Li
Arguments:
None
Default:
None
Description:
Switches on generation of the listing file, but include files are
not expanded in the listing file. The listing file contains macro
definitions, invocation, and expansion lines.
Example:
ASMOPTIONS=-Li
When option
-Li
is specified, this portion of code:
INCLUDE "macro.inc"
codeSec: SECTION
Start:
cpChar char1, char2
NOP
Generates the following output in the assembly listing file:
5
5
INCLUDE "macro.inc"
12
6
codeSec:
SECTION
13 7 Start:
15
3m
000000 FC xxxx
+
LDD char1
16
4m
000003 7C xxxx
+
STD char2
17 9 000006 A7
NOP
18 10 000007 A7
NOP
Macro definition, invocation, and expansion are stored in the
listing file.
See also: