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

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
Taking a look at the C Compiler output "main.ps" you will find that the CODE and the BSS sections are defined
by the Compiler.
<main.ps>
The symbol of global variable i is defined, and a 4-byte area is located in the BSS section by the ".comm"
pseudo-instruction. Since variables j and k are local variables, they are allocated to general-purpose registers and
stacks. No BSS section is used for these variables.
When these modules are linked by make in the tutorial, separate CODE sections are combined into one section.
During a linking, each file and each section can be address-specified so that they correspond to the actual
memory configuration. For details, refer to Section 12, "Linker".
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
tst_main
tst_asm
CODE1
CODE2
DATA1
DATA2
BSS1
BSS2
Fig. 3.4.1 Section allocation after linkage
EPSON
CHAPTER 3: SOFTWARE DEVELOPMENT PROCEDURES
CODE2
CODE1
DATA2
DATA1
test.srf
BSS2
BSS1
0x00C0000
0x0000000
37

Related parts for s5u1c33000c