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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
Locating absolute files
Block alignment
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Absolute object files are located at their predetermined addresses preferentially over other files, because all
sections in each absolute object file have their absolute addresses already fixed before linking. Even if the
absolute object is defined in a block along with any relocatable object that has had its address specified, it is
unaffected by that relocatable object.
Example: Command file
In this example, although the absolute file abs.o is block-defined along with the relocatable file rel.o, abs.o
is located at the inherent address of that file. The CODE section in rel.o is located at addresses beginning
with 0x0c10000, while other sections in rel.o are located as default blocks.
Each block, by default, is located at the 4-byte boundary.
The alignment boundary can be set to 2
If any block location address other than a 4-byte boundary address or a boundary address set using the
-align command is specified using the -addr command, a warning is given and the block is located at the
alignment boundary that is closest to the specified address, with its low-order bits cleared to 0.
0x0CA0000
0x0C90000
0x0010000
-v3
-codeblock EXTRA_BLOCK
{
}
-addr 0xc10000 {EXTRA_BLOCK}
abs.o
rel.o
Before linkage
CODE1
CODE2
DATA1
DATA2
BSS1
abs.o
BSS2
rel.o
abs.o
rel.o
Fig. 12.6.3.3 Example of how an absolute object file is located
CODE2
DATA2
BSS2
Block
n
; Absolute object file
; Relocatable object file
using the -align command.
EPSON
DEFAULT_DATA
EXTRA_BLOCK
DEFAULT_BSS
(Link processing in lk33 Ver. 3.0)
After linkage
CODE1
CODE2
DATA1
DATA2
abs.srf
BSS1
BSS2
CHAPTER 12: LINKER
0x0CA0000
0x0C90000
0x0C10000
0x0C00000
0x0010000
0x0000000
219

Related parts for s5u1c33000c