5 source line listing, Source line listing – Motorola HC12 User Manual

Page 215

Advertising
background image

Assembler Listing File

Source Listing

MCUez HC12 Assembler

User’s Manual

MOTOROLA

Assembler Listing File

215

10.4.5 Source Line Listing

This column contains the source statement. This is a copy of the source line
from the source module. For lines resulting from a macro expansion, the source
line is the expanded line where parameter substitution has been performed.

Example:

Abs. Rel. Loc.

Obj. code

Source line

---- ---- ------ ---------

-----------

1

1

;--------------------

2

2

; File: test.o

3

3

;--------------------

4

4

5

5

INCLUDE "macro.inc"

6

1i

cpChar: MACRO

7

2i

LDD \1

8

3i

STD \2

9

4i

ENDM

10

5i

11

6

codeSec: SECTION

12

7

Start:

13

8

cpChar ch1, ch2

14

2m

000000 FC xxxx

+ LDD ch1

15

3m

000003 7C xxxx

+ STD ch2

16

9

000006 A7

NOP

17

10

000007 A7

NOP

Advertising