Obj. code

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. Code at any position when ` x' is written will be determined at link time. See the following listing:

Listing: Example listing file - Obj. code column
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