RL78/G15 CHAPTER 3 CPU ARCHITECTURE
R01UH0959EJ0110 Rev.1.10 Page 78 of 765
Mar 7, 2023
3.4 Instruction Address Addressing
3.4.1 Relative addressing
[Function]
Relative addressing stores in the program counter (PC) the result of adding a displacement value included in the
instruction word (signed complement data: −128 to +127 or −32768 to +32767) to the program counter (PC)’s value (the
start address of the next instruction), and specifies the program address to be used as the branch destination. Relative
addressing is applied only to branch instructions.
Figure 3-10. Outline of Relative Addressing
PC
Instruction code
OP
-code
DISPLACE
8/
16 bits