RL78/G10 CHAPTER 3 CPU ARCHITECTURE
R01UH0384EJ0311 Rev. 3.11 46
Dec 22, 2016
3.4.4 Short direct addressing
[Function]
Short direct addressing directly specifies the target addresses using 8-bit data in the instruction word. This type of
addressing is applied only to the space from FFE20H to FFF1FH.
Note that it is prohibited to use the area from FFEE0H to FFEF7H. In the products with 128 bytes of RAM, it is also
prohibited to use the area from FFE20H to FFE5FH.
[Operand format]
Identifier Description
SADDR Label or FFE20H to FFF1FH immediate data
SADDRP Label or FFE20H to FFF1FH immediate data (only even address is specifiable.)
Figure 3-20. Outline of Short Direct Addressing
OP code
Memory
saddr
FFF1FH
FFE20H
saddr
Instruction code
Remark SADDR and SADDRP are used to describe the values of addresses FE20H to FF1FH with 16-bit immediate
data (higher 4 bits of actual address are omitted), and the values of addresses FFE20H to FFF1FH with 20-
bit immediate data.
Regardless of whether SADDR or SADDRP is used, addresses within the space from FFE20H to FFF1FH
are specified for the memory.