Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
 
CHAPTER  3   CPU  ARCHITECTURE 
R01UH0305EJ0200  Rev.2.00 
 
 
88  
Jul 04, 2013 
Figure 3-27.  Example of [HL + byte], [DE + byte] 
 
FFFFFH
F0000H
rp(HL/DE)
[HL + byte],      [DE + byte]
Target
array
of data
Offset
Address of
an array
Other data in 
the array
Target memory
Memory
Instruction code
OP-code
byte
<1>
<2>
<2>
<1>
<2>
<1>
<2>
Either pair of registers <1> specifies the address 
where the target array of data starts in the 64 KB
area from F0000H to FFFFFH. 
“byte” <2> specifies an offset within the array to
the target location in memory.
 
 
Figure 3-28.  Example of word[B], word[C] 
 
F0000H
r(B/C)
FFFFFH
word   [B],   word   [C]
OP-code
Low Addr.
High Addr.
Instruction code
Array of 
word-sized
data
“word” <1> specifies the address where the target
array of word-sized data starts in the 64 KB area
from F0000H to FFFFFH. 
Either register <2> specifies an offset within the
array to the target location in memory.
Target memory
Memory
<1>
<1>
<2>
<1>
<2>
<2>
<2>
Address of a word
within an array
Offset