Object Code Generated By The File In Example - Texas Instruments TMS320C54x User Manual

Digital signal processors
Hide thumbs Also See for TMS320C54x:
Table of Contents

Advertisement

Figure 2–2. Object Code Generated by the File in Example 2–1
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.
43
44
How the Assembler Handles Sections
100f
f010
0001
f842
0001'
110a
f166
000a
f868
0006'
Introduction to Common Object File Format
2-11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C54x and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents