Data Memory Addressing - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

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/G1P, 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. Figures 3-3 shows
correspondence between data memory and addressing. For details of each addressing, see 3.4
Processing Data Addresses.
F F F F F H
Special function registers (SFR)
F F F 2 0 H
F F F 1 F H
F F F 0 0 H
F F E F F H
General-purpose registers
32 bytes
F F E E 0 H
F F E D F H
F F E 2 0 H
F F E 1 F H
F F 9 0 0 H
F F 8 F F H
F 4 0 0 0 H
F 3 F F F H
F 2 0 0 0 H
F 1 F F F H
F 1 8 0 0 H
F 1 7 F F H
Data flash memory
F 0 E 0 0 H
F 0 D F F H
F 0 8 0 0 H
F 0 7 F F H
Extended special function registers
F 0 0 0 0 H
E F F F F H
0 4 0 0 0 H
0 3 F F F H
Code flash memory
0 0 0 0 0 H
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 3-3. Correspondence Between Data Memory and Addressing
SFR addressing
256 bytes
RAM
1.5 KB
Reserved
Mirror
8 KB
Reserved
2 KB
Reserved
(2nd SFR)
2 KB
Reserved
16 KB
CHAPTER 3 CPU ARCHITECTURE
Short direct
Register addressing
addressing
Addressing for
Direct addressing
Register indirect addressing
Based addressing
Based indexed addressing
34

Advertisement

Table of Contents
loading

Table of Contents