How the Assembler Handles Sections
2-11
Introduction to Common Object File Format
As Figure 2–2 shows, the file in Example 2–1 creates five sections:
.text
contains ten 16-bit words of object code.
.data
contains seven words of object code.
vectors
is a named section created with the .sect directive; it contains
two words of initialized data.
.bss
reserves 10 words in memory.
newvars
is a named section created with the .usect directive; it reserves
eight words in memory.
The second column shows the object code that is assembled into these
sections; the first column shows the line numbers of the source statements that
generated the object code.
Figure 2–2. Object Code Generated by the File in Example 2–1
100f
f010
0001
f842
0001’
110a
f166
000a
f868
0006’
43
44
Содержание TMS320C54x
Страница 38: ......
Страница 39: ......
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 44: ......
Страница 45: ......
Страница 46: ......
Страница 47: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 56: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 60: ......
Страница 61: ......
Страница 62: ......
Страница 276: ......
Страница 277: ......
Страница 278: ......
Страница 279: ......
Страница 280: ......
Страница 281: ......
Страница 282: ......
Страница 283: ......
Страница 284: ......
Страница 285: ......
Страница 286: ......
Страница 287: ......
Страница 288: ......
Страница 289: ......
Страница 290: ......
Страница 291: ......
Страница 292: ......
Страница 293: ......
Страница 294: ......
Страница 295: ......
Страница 296: ......
Страница 297: ......
Страница 298: ......
Страница 299: ......
Страница 300: ......
Страница 301: ......
Страница 302: ......