Symbol Table Structure and Content
A-18
A.7.2 Symbol Name Format
The first eight bytes of a symbol table entry (bytes 0–7) indicate a symbol’s
name:
-
If the symbol name is eight characters or less, this field has type
character.
The name is padded with nulls (if necessary) and stored in bytes 0–7.
-
If the symbol name is greater than 8 characters, this field is treated as two
long integers. The entire symbol name is stored in the string table. Bytes
0–3 contain 0, and bytes 4–7 are an offset into the string table.
A.7.3 String Table Structure
Symbol names that are longer than eight characters are stored in the string
table. The field in the symbol table entry that would normally contain the sym-
bol’s name contains, instead, a pointer to the symbol’s name in the string table.
Names are stored contiguously in the string table, delimited by a null byte. The
first four bytes of the string table contain the size of the string table in bytes;
thus, offsets into the string table are greater than or equal to four.
Figure A–9 is a string table that contains two symbol names, Adaptive-Filter
and Fourier-Transform. The index in the string table is 4 for Adaptive-Filter and
20 for Fourier-Transform.
Figure A–9. String Table
‘A’
‘d’
‘a’
‘p’
‘t’
‘i’
‘v’
‘e’
‘-’
‘F’
‘i’
‘l’
‘t’
‘e’
‘r’
‘\0’
‘F’
‘o’
‘u’
‘r’
‘i’
‘e’
‘r’
‘-’
‘T’
‘r’
‘a’
‘n’
‘s’
‘f’
‘o’
‘r’
‘m’
‘\0’
38
Summary of Contents for TMS320C54x
Page 38: ......
Page 39: ......
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 44: ......
Page 45: ......
Page 46: ......
Page 47: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 56: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 60: ......
Page 61: ......
Page 62: ......
Page 276: ......
Page 277: ......
Page 278: ......
Page 279: ......
Page 280: ......
Page 281: ......
Page 282: ......
Page 283: ......
Page 284: ......
Page 285: ......
Page 286: ......
Page 287: ......
Page 288: ......
Page 289: ......
Page 290: ......
Page 291: ......
Page 292: ......
Page 293: ......
Page 294: ......
Page 295: ......
Page 296: ......
Page 297: ......
Page 298: ......
Page 299: ......
Page 300: ......
Page 301: ......
Page 302: ......