This column contains the relative line number for each instruction. The relative line number is the line number in the source file. For included files, the relative line number is the line number in the included file. For macro call expansion, the relative line number is the line number of the instruction in the macro definition. See the code listed below.
An i suffix is appended to the relative line number when the line comes from an included file. An m suffix is appended to the relative line number when the line is generated by a macro call.
Abs. Rel. Loc Obj. code Source line ---- ---- ------ --------- ----------- 1 1 ;------------------------------- 2 2 ; File: test.o 3 3 ;------------------------------- 4 4 5 5 XDEF Start 6 6 MyData: SECTION 7 7 000000 char1: DS.B 1 8 8 000001 char2: DS.B 1 9 9 INCLUDE "macro.inc" 10 1i cpChar: MACRO 11 2i LD D0, \1 12 3i ST D0, \2 13 4i ENDM 14 10 CodeSec: SECTION 15 11 Start: 16 12 cpChar char1, char2 17 2m 000000 xx xxxx + LD D0, char1 18 3m 000003 xx xxxx + ST D0, char2 19 13 000006 01 NOP 20 14 000007 01 NOP
In the previous example, the line number displayed in the Rel. column. represent the line number of the corresponding instruction in the source file.
1i on absolute line number 10 denotes that the instruction cpChar: MACRO is located in an included file.
2m on absolute line number 17 denotes that the instruction LD D0, char1 is generated by a macro expansion.