s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 216

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 12: LINKER
(Link processing in lk33 Ver. 2.1 or earlier)
Location and size of U section
Section alignment
How to use U sections
200
A U section starts from the address specified by a command. The size of a virtual section equals the total
size of the located sections. The size of a shared section is that of the largest section of multiple shared
sections.
When defining a U section, be careful with its address because the addresses overlapping between U
sections or between a U section and another normal section are accepted.
Each section, by default, is located at the 4-byte boundary.
The alignment boundary can be set to 2
If any section location address other than a 4-byte boundary address or a boundary address set using the
-align command is specified using the -code, -data, -bss, -ucode, -udata, or -ubss command, a warning is
given and the section is located at the alignment boundary that is closest to the specified address, with its
low-order bits cleared to 0.
To allocate real program codes and variables successively into U sections, specification in the order as
below is effective unless the absolute addresses are otherwise specified.
To allocate as above, specify with the following command in the command file:
Sample command file
The link map file after linking shows that the blocks (1) to (4) have been located in the order from lower
address to higher address.
Sample link map file
RAM: Lower address
RAM: Higher address
-code
-section
-section
-section
-udata
-ucode
-ucode
main.o
sub.o
(1) Variables without an initial value (BSS)
(2) Variables with an initial value (DATA)
(3) Program codes 1 (replication of a CODE area in the ROM)
(4) Program codes 2 (replication of a CODE area in the ROM)
0x0c00000
INITDATA
CACHE1
CACHE2
INITDATA
CACHE1 {main.o}
CACHE2 {sub.o}
:
n
using the -align command.
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c