Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  3   CPU  ARCHITECTURE 
R01UH0305EJ0200  Rev.2.00 
 
 
84  
Jul 04, 2013 
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.   
 
[Operand format] 
 
Identifier Description 
SADDR 
Label, FFE20H to FFF1FH immediate data, or 0FE20H to 0FF1FH immediate data  
(only the space from FFE20H to FFF1FH is specifiable) 
SADDRP 
Label, FFE20H to FFF1FH immediate data, or 0FE20H to 0FF1FH immediate data (even address only) 
(only the space from FFE20H to FFF1FH is specifiable) 
 
Figure 3-22.  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.