RL78/G10 CHAPTER 3 CPU ARCHITECTURE
R01UH0384EJ0311 Rev. 3.11 31
Dec 22, 2016
3.1.6 Data memory addressing
Addressing refers to the method of specifying the address of the instruction to be executed next or the address of the
register or memory relevant to the execution of instructions.
Several addressing modes are provided for addressing the memory relevant to the execution of instructions for the
RL78/G10, based on operability and other considerations. For areas containing data memory in particular, special
addressing methods designed for the functions of the special function registers (SFR) and general-purpose registers are
available for use. Figure 3-4 shows correspondence between data memory and addressing.
For details of each addressing, see 3.4 Addressing for Processing Data Addresses.
Figure 3-4. Correspondence Between Data Memory and Addressing
RAM
128/256/512 bytes
Reserved
Reserved
Reserved
Reserved
Code flash memory
1/2/4 KB
Special function register (SFR)
256 bytes
Special function register (2nd SFR)
2KB
General-purpose
register 8 bytes
SFR addressing
Register addressing
FFF20H
FFF1FH
FFE20H
FFE1FH
FFFFFH
FFF00H
FFEFFH
FFEF8H
FFEF7H
00000H
Mirror
1/2/4 KB
FFEE0H
FFEDFH
F0000H
EFFFFH
F0800H
F07FFH
Short direct
addressing
Direct addressing
Register indirect addressing
Based addressing
Based indexed addressing