8 -le – Motorola HC12 User Manual

Page 91

Advertising
background image

Assembler Options
Assembler Options

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Options

91

5.4.8 -Le

-Le:

No macro expansion in listing file

Group:

OUTPUT

Scope:

Assembly unit

Syntax:

-Le

Arguments:

None

Default:

None

Description:

Switches on generation of the listing file, but macro expansions
are not present in the listing file. The listing file contains macro
definitions and invocation lines as well as expanded include
files.

Example:

ASMOPTIONS=-Le

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

-Le

is specified, the following

portion of code:

cpChar: MACRO

LDD \1

STD \2

ENDM

codeSec: SECTION

Start:

cpChar char1, char2

NOP

NOP

Advertising