4 object (obj.) code listing, Object (obj.) code listing, Assembler listing file – Motorola HC12 User Manual

Page 214

Advertising
background image

User’s Manual

MCUez HC12 Assembler

214

Assembler Listing File

MOTOROLA

Assembler Listing File

10.4.4 Object (Obj.) Code Listing

This column contains the hexadecimal code of each instruction in hexadecimal
format. This code is not identical to the code stored in the object file. The letter

x

is displayed at the position where the address of an external or relocatable

label is expected. The address is determined at link time.

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