Renesas rl78 User Manual
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
addressing
SFR addressing
Register addressing
F 0 F F F H
F 1 0 0 0 H
F 1 F F F H
F 2 0 0 0 H
F 0 7 F F H
F 0 8 0 0 H
E F F F F H
F 0 0 0 0 H
0 0 0 0 0 H
F F E D F H
F F E E 0 H
F F E F F H
F F F 0 0 H
F F F 1 F H
F F F 2 0 H
F F F F F H
F F E 1 F H
F F E 2 0 H
<R>