Datasheet
RL78/L12 CHAPTER 3 CPU ARCHITECTURE
R01UH0330EJ0200 Rev.2.00 63
Dec 13, 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/L12, 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-5 shows
correspondence between data memory and addressing. For details of each addressing, see 3.4 Addressing for
Processing Data Addresses.
Figure 3-5. Correspondence Between Data Memory and Addressing
Special function register (SFR)
256 bytes
General-purpose register
32 bytes
RAM
Note
1 KB
Reserved
Reserved
Reserved
Special function register (2nd SFR)
2 KB
Reserved
Code flash memory
8 K to 32 KB
00000H
EFFFFH
F0000H
F0FFFH
F1000H
Data flash memory
2 KB
F1FFFH
F2000H
F17FFH
F1800H
FFAFFH
FFB00H
FFEDFH
FFEE0H
FFEFFH
FFF00H
FFFFFH
F07FFH
F0800H
Direct addressing
Register indirect addressing
Based addressing
Based indexed addressing
Short direct
addressing
SFR addressing
Register addressing
FFE1FH
FFE20H
FFF1FH
FFF20H
<R>