Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
CHAPTER  28   INSTRUCTION  SET 
R01UH0305EJ0200  Rev.2.00 
 
 
834  
Jul 04, 2013 
Table 28-5.  Operation List (2/17) 
Notes 1.  Number of CPU clocks (f
CLK
) when the internal RAM area, SFR area, or extended SFR area is accessed, or 
when no data is accessed. 
 2. 
Number of CPU clocks (f
CLK
) when the code flash memory is accessed, or when the data flash memory is 
accessed by an 8-bit instruction.   
 
Remark  Number of clock is when program exists in the internal ROM (flash memory) area.  If fetching the instruction 
from the internal RAM area, the number becomes double number plus 3 clocks at a maximum. 
 
Clocks Flag 
Instruction 
Group 
Mnemonic Operands  Bytes 
Note 1
Note 2
Clocks 
Z AC CY
A, sfr 
− 
← sfr 
 
sfr, A 
− 
sfr 
← A 
 
A, [DE] 
← (DE) 
 
[DE], A 
− 
(DE) 
← A 
 
A, ES:[DE] 
← (ES, DE) 
 
ES:[DE], A 
− 
(ES, DE) 
← A 
 
A, [HL] 
← (HL) 
 
[HL], A 
− 
(HL) 
← A 
 
A, ES:[HL] 
← (ES, HL) 
 
ES:[HL], A 
− 
(ES, HL) 
← A 
 
A, [DE+byte] 
← (DE + byte) 
 
[DE+byte], A 
− 
(DE + byte) 
← A 
 
A, ES:[DE+byte] 
← ((ES, DE) + byte) 
 
ES:[DE+byte], A 
− 
((ES, DE) + byte) 
← A 
 
A, [HL+byte] 
← (HL + byte) 
 
[HL+byte], A 
− 
(HL + byte) 
← A 
 
A, ES:[HL+byte] 
← ((ES, HL) + byte) 
 
ES:[HL+byte], A 
− 
((ES, HL) + byte) 
← A 
 
A, [SP+byte] 
− 
← (SP + byte) 
 
[SP+byte], A 
− 
(SP + byte) 
← A 
 
A, word[B] 
← (B + word) 
 
word[B], A 
− 
(B + word) 
← A 
 
A, ES:word[B] 
← ((ES, B) + word) 
 
ES:word[B], A 
− 
((ES, B) + word) 
← A 
 
A, word[C] 
← (C + word) 
 
word[C], A 
− 
(C + word) 
← A 
 
A, ES:word[C] 
← ((ES, C) + word) 
 
ES:word[C], A 
− 
((ES, C) + word) 
← A 
 
A, word[BC] 
← (BC + word) 
 
word[BC], A 
− 
(BC + word) 
← A 
 
A, ES:word[BC] 
← ((ES, BC) + word) 
 
 
8-bit data 
transfer 
MOV 
ES:word[BC], A 
− 
((ES, BC) + word) 
← A 
 
 
<R>