English
Language : 

CC78K0S Datasheet, PDF (305/520 Pages) NEC – C Compiler Ver.1.30 or Later Language
CHAPTER 11 EXTENDED FUNCTIONS
(a) Normal model (default)
Table 11-2. Utilization of Memory Space
Address
Use
00
40 to 7FH
CALLT table
FE
20 to D7H
sreg variables, boolean type variables
FE
D8 to E7H
Register variablesNote 1
FE
E8 to EFH
Arguments of norec functionsNote 2
FE
F0 to F7H
Automatic variables of norec functionsNote 3
FE
F8 to FFH
Arguments of runtime libraryNote 4
FF
00 to FFH
sfr variables
Size (bytes)
64
184
16
8
8
8
256
(b) Static model (at -SM16 specification)
Address
Use
00
40 to 7FH
CALLT table
FE
20 to EFH
sreg variables, boolean type variables
FE
F0 to FFH
Shared areaNote 5
FE
Consecutive For arguments, automatic variables, and workNote 6
areas
between 20
and FFH
FF
00 to FFH
sfr variables
Size (bytes)
64
208
16
8
256
Notes 1. Area not used for register variables is used for sreg variables and boolean type variables.
2. If not completely used for register variables, area not used for norec function arguments is used for sreg
variables and boolean type variables.
3. If not completely used for register variables and norec function arguments, area not used for norec
function automatic variables is used for sreg variables and boolean type variables.
4. If not completely used for register variables and norec function arguments/automatic variables, area not
used for runtime library arguments is used for sreg variables and boolean type variables.
5. The area used by the compiler varies depending on the parameters of the –SM option. Area not used as
shared area is used for sreg variables and boolean type variables.
6. Valid only when the static model expansion specification option (-ZM) is specified.
Remark If the register variable optimization option (-QR) is not specified, the area in Notes 1 to 3 is always used for
sreg variables and boolean type variables.
User’s Manual U14872EJ1V0UM
305