Assembler Options
Assembler Options
MCUez HC12 Assembler User’s Manual
MOTOROLA Assembler Options 87
5.4.6 -Lc
-Lc: No macro call in listing file
Group: OUTPUT
Scope: Assembly unit
Syntax: -Lc
Arguments: None
Default: None
Description: Switches on generation of the listing file, but macro
invocations are not present in the listing file. The listing file
contains macro definitions and expansion lines as well as
expanded include files.
Example: ASMOPTIONS=-Lc
In the following assembly code example, the macro cpChar
accepts two parameters. The macro copies the value of the first
parameter to the second one.
When option -Lc is specified, the following portion of code:
cpChar: MACRO
LDD \1
STD \2
ENDM
codeSec: SECTION
Start:
cpChar char1, char2
NOP
NOP