RL78/G1H CHAPTER 4 CPU ARCHITECTURE
R01UH0575EJ0120 Rev. 1.20 Page 47 of 920
Dec 22, 2016
4.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/G1H, 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 4 - 5 shows correspondence between data memory and
addressing.
Figure 4 - 5 Correspondence Between Data Memory and Addressing
FFFFFH
FFEE0H
FFEDFH
FFE20H
FFF00H
FFEFFH
Special function register (SFR)
256 bytes
General-purpose register
32 bytes
RAM
24K to 48 Kbytes
Register addressing
Short direct
addressing
Direct addressing
Register indirect addressing
Based addressing
Based indexed addressing
SFR addressing
F1000H
F0FFFH
F0800H
F07FFH
F0000H
EFFFFH
Mirror area
Data flash memory
8 Kbytes
Reserved
Extended special function register
(2nd SFR)
2 Kbytes
Reserved
FFF20H
FFF1FH
FFE1FH
00000H
Code flash memory
256K to 512 Kbytes