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

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. 3.0)
To locate a specific file beginning with a specific address
218
Combine the sections in the desired file into blocks using the -codeblock, -datablock, and -bssblock
commands and specify the address of each block using the -addr command. In this manner, a specific
section of the specified file can be located at the specified address. Multiple files can be specified, in which
case the blocks are located beginning with the start address in the order in which the files are specified.
Example: Command file
In this example, the CODE sections in sample2.o and sample3.o are defined to EXTRA_BLOCK, so that
they are located at the addresses beginning with 0x0c10000, while all sections in sample1.o and the DATA
and BSS sections in sample2.o and sample3.o are mapped to default blocks as they are located.
When specifying addresses with the -addr command, the symbols defined by the -defaddr command may be
used to specify those addresses.
Example: -defaddr EXT_ROM=0xc10000
Before linkage
sample1.o
sample2.o
sample3.o
CODE1
CODE2
CODE3
DATA1
DATA2
DATA3
BSS1
BSS2
BSS3
-v3
-codeblock EXTRA_BLOCK
{
}
-addr 0xc10000 {EXTRA_BLOCK}
sample1.o
sample2.o
sample3.o
-addr EXT_ROM {EXTRA_BLOCK}
sample2.o
sample3.o
Fig. 12.6.3.2 Example of locating specific files
CODE3
CODE2
CODE1
DATA3
DATA2
DATA1
BSS3
BSS2
BSS1
Block
EPSON
EXTRA_BLOCK
DEFAULT_DATA
DEFAULT_CODE
DEFAULT_BSS
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
After linkage
sample1.srf
CODE3
CODE2
CODE1
DATA3
DATA2
DATA1
BSS3
BSS2
BSS1
0x0C10000
0x0C00000
0x0000000
S5U1C33000C MANUAL

Related parts for s5u1c33000c