RL78/G1A CHAPTER 3 CPU ARCHITECTURE
R01UH0305EJ0200 Rev.2.00 61
Jul 04, 2013
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/G1A, 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-6 shows
correspondence between data memory and addressing. For details of each addressing, see 3.4 Addressing for
Processing Data Addresses.
Figure 3-6. Correspondence Between Data Memory and Addressing
Special function register (SFR)
256 bytes
General-purpose register
32 bytes
RAM
2 to 4 KB
Mirror area
Data flash memory
4 KB
Reserved
Special function register (2nd SFR)
2 KB
Reserved
Code flash memory
16 to 64 KB
Direct addressing
Register indirect addressing
Based addressing
Based indexed addressing
Short direct
addressing
SFR addressing
Register addressing
F0FFFH
F1000H
F1FFFH
F2000H
F07FFH
F0800H
EFFFFH
F0000H
00000H
FFEDFH
FFEE0H
FFEFFH
FFF00H
FFF1FH
FFF20H
FFFFFH
FFE1FH
FFE20H
<R>