
RL78/G1P
CHAPTER 3 CPU ARCHITECTURE
R01UH0895EJ0100 Rev.1.00
49
Nov 29, 2019
3.3.3 Table indirect addressing
[Function]
Table indirect addressing specifies a table address in the CALLT table area (0080H to 00BFH) with the 5-bit
immediate data in the instruction word, stores the contents at that table address and the next address in the program
counter (PC) as 16-bit data, and specifies the program address. Table indirect addressing is applied only for CALLT
instructions.
In the RL78 microcontrollers, branching is enabled only to the 64 KB space from 00000H to 0FFFFH.
Figure 3-13. Outline of Table Indirect Addressing
Low Addr.
High Addr.
0
0000
OP code
0 0 0 0 0 0 0 0 10
Table address
PC
S
PC
PC
H
PC
L
Memory
3.3.4 Register indirect addressing
[Function]
Register indirect addressing stores in the program counter (PC) the contents of a general-purpose register pair
(AX/BC/DE/HL) and CS register of the current register bank specified with the instruction word as 20-bit data, and
specifies the program address. Register indirect addressing can be applied only to the CALL AX, BC, DE, HL, and
BR AX instructions.
Figure 3-14. Outline of Register Indirect Addressing
OP code
PC
S
PC
PC
H
PC
L
CS
rp
Instruction code