s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 224

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
5 GNU17 IDE
5-118
As shown in the [Section name] column, the following five basic sections are set in advance:
.bss:
.data:
.vector:
.text:
.rodata:
The section information is displayed in blue except for the .vector section displayed in black. Blue is used to
display the standard sections defined by default and black is used to display other user defined sections. To edit
the section name, standard section attribute, address to locate, and objects to be located, a user section should
be created. The standard section allows the user to specify the location address only, and objects are automati-
cally located except those are located in the user sections with the same attribute.
The "VMA" (Virtual Memory Address) is the position (start address) at which a section is placed when ex-
ecuted. A section whose address is not written in the VMA will be located at an address following the section
immediately preceding.
The "LMA" (Load Memory Address) is the position in a ROM (start address) at which the actual data is locat-
ed. "-" means the same as the VMA (i.e., a section will be executed or accessed from the position at which its
actual data is placed). "after(.rodata)" means that a section will have its actual data located at an address
following another section (in this case, the .rodata section).
"Labels" are the labels indicating the start and the end addresses of the area in which a section will be located.
When a VMA is specified, two labels are displayed, whereas when a LMA is specified, four labels for the start/
end VMA addresses and the start/end LMA addresses are displayed, in that order. These labels can be used to
specify the address in a source file when (for example) a section is copied from ROM to RAM. The names of
these labels are automatically generated from section names.
Example:
libc.a (library)
.rodata (3)
.rodata (2)
.rodata (1)
__START_bss:__END_bss
__START_data:__END_data:__START_data_lma:__END_data_lma
vector.o
.data (3)
.data (2)
.data (1)
.text (3)
.bss (3)
main.o
.text (2)
.bss (2)
.text (1)
.bss (1)
Labels indicating the start and end addresses of a .bss section
Labels indicating the start VMA address, end VMA address, start LMA address, and end LMA ad-
dress of a .data section
A section in which variables without initial values are placed. (This is normally lo-
cated in RAM.)
A section in which variables with initial values are placed. (The initial values are
located in ROM. When needed, they are copied into RAM.)
A section in which vector tables are placed. (The actual data is located in ROM.)
A section in which program code is placed. (The actual data is located in ROM and
executed from there or from high-speed RAM after copying.)
Constants. (The actual data is located in ROM.)
Figure 5.7.6.1 Selection location in default settings
0x008000
0x000000
(when vector.o, main.o, and libc.a are linked)
.rodata (3)
.rodata (2)
.rodata (1)
.data (3)
.data (2)
.data (1)
.data (3)
.data (2)
.data (1)
Unused
Unused
EPSON
(ROM)
.text (3)
.text (2)
.text (1)
(RAM)
.bss (3)
.bss (2)
.bss (1)
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
__START_data_lma
__END_rodata
__START_rodata
__END_text
__START_text
__END_vector
__START_vector
__END_data
__START_data
__END_bss
__START_bss
.data section
(LMA)
.rodata section
(LMA = VMA)
.text section
(LMA = VMA)
.vector section
(LMA = VMA)
.data section
(VMA)
.bss section
(VMA)
S5U1C17001C MANUAL
Copied
before
use

Related parts for s5u1c17001c