RL78/G15 CHAPTER 3 CPU ARCHITECTURE
R01UH0959EJ0110 Rev.1.10 Page 79 of 765
Mar 7, 2023
3.4.2 Immediate addressing
[Function]
Immediate addressing stores immediate data of the instruction word in the program counter, and specifies the program
address to be used as the branch destination.
For immediate addressing, CALL !!addr20 or BR !!addr20 is used to specify 20-bit addresses and CALL !addr16 or
BR !addr16 is used to specify 16-bit addresses. 0000 is set to the higher 4 bits when specifying 16-bit addresses.
Figure 3-11. Example of CALL !!addr20/BR !!addr20
PC
Instruction code
OP-code
Low Addr.
High Addr
.
Seg Addr.
Figure 3-12. Example of CALL !addr16/BR !addr16
PC
S
Instruction code
OP-code
Low Addr.
High Addr.
PC
H
PC
L
0000
PC