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