Motorola HC12 사용자 설명서

다운로드
페이지 328
Assembler Listing File
Source Listing
MCUez HC12 Assembler
User’s Manual
MOTOROLA
Assembler Listing File
211
10.4.1  Absolute (Abs.) Listing
This column contains the absolute line number for each instruction. The
absolute line number is the line number in the DBG file, which contains all
included files and where all macro calls have been expanded.
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
In the previous example, the line number displayed in the column Abs. is
incremented for each line.