RL78/G15 CHAPTER 3 CPU ARCHITECTURE
R01UH0959EJ0110 Rev.1.10 Page 64 of 765
Mar 7, 2023
3.2.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/G15, based on operability and other considerations. 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-3 shows
correspondence between data memory and addressing.
For details of each addressing, see 3.5 Addressing for Processing Data Addresses.
Figure 3-3. Correspondence Between Data Memory and Addressing
Special function register (SFR)
256 bytes
FFF20H
FFF1FH
FFFFFH
00000H
FFF00H
FFEFFH
FFEE0H
FFEDFH
General-purpose register
32 bytes
F0800H
F07FFH
Special function register (2nd SFR)
2 KB
F0000H
EFFFFH
02000H
01FFFH
FFB00H
FFAFFH
F2000H
F1FFFH
F9400H
F93FFH
Reserved
09000H
08FFFH
09400H
093FFH
Reserved
Reserved
CF mirror
6 KB
F9000H
F8FFFH
DF mirror
1 KB
FFE20H
FFE1FH
RAM
1 KB
Reserved
Register addressing
SFR addressing
Short direct addressing
Direct addressing
Register indirect addressing
Based addressing
Based indexed addressing
Data flash memory
1 KB
Code flash memory
8 KB