Example 7. An Assembler Cross-Reference Listing

LABEL VALUE DEFN REF .BIG_ENDIAN 00000000 0 .LITTLE_ENDIAN 00000001 0 .TMS320C6400_PLUS 00000001 0 .TMS320C6600 00000000 0 .TMS320C6740 00000001 0 _func 00000000' 18 var1 00000000- 4 17 var2 00000004- 5 18
Label column contains each symbol that was defined or referenced during the assembly.
Value column contains an 8-digit hexadecimal number (which is the value assigned to the symbol) or a name that describes the symbol's attributes. A value may also be preceded by a character that describes the symbol's attributes. Table 4-6 lists these characters and names.
Definition (DEFN) column contains the statement number that defines the symbol. This column is blank for undefined symbols.
Reference (REF) column lists the line numbers of statements that reference the symbol. A blank in this column indicates that the symbol was never used.

Table 4-6 Symbol Attributes

Character or Name Meaning
REF External reference (global symbol)
UNDF Undefined
' Symbol defined in a .text section
" Symbol defined in a .data section
+ Symbol defined in a .sect section
- Symbol defined in a .bss or .usect section