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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
Creating section symbols using the -objsym command
Example using block symbols in the assembly source
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
When the -objsym command is written in a command file, the lk33 generates the following symbols for
each section in each input file to indicate section information after relocation:
_ _ START_<File name>_<Section>
_ _ END_<File name>_<Section>
_ _ SIZEOF_<File name>_<Section> Defines the size (in bytes) of a relocated section.
Example: If the input file name is "test.o", the start address of the CODE section is 0x0c00000, and the size
The path and extension of <File name> are cut irrespective of how they are written in a command file. The
start address and size defined to a symbol are the same as the contents output to the link map file (real data
address), and the end address is determined by the "start address" + "size".
Example: When transferring the OBJ1 block to virtual block "CACHE1"
Symbol name
__START_test_code
__END_test_code
__SIZEOF_test_code
Transfer routine in the source file
HCOPY_LOOP:
is 0x100
xld.w
xld.w
xld.w
ld.uh
ld.h
sub
jrgt
%r12, __START_CACHE1
%r13, __START_OBJ1
%r14, __SIZEOF_OBJ1
%r4, [%r13]+
[%r12]+, %r4
%r14, 2
HCOPY_LOOP
Symbol value
0x0c00000
0x0c00100
0x100
Defines the start address of a relocated section.
Defines an address next to the end address of a relocated section.
EPSON
; Transfers the instruction code.
(Link processing in lk33 Ver. 3.0)
CHAPTER 12: LINKER
225

Related parts for s5u1c33000c