Renesas rl78 User Manual

Page of 1004
 
RL78/G1A 
CHAPTER  28   INSTRUCTION  SET 
R01UH0305EJ0200  Rev.2.00 
 
 
833  
Jul 04, 2013 
28.2  Operation List 
 
Table 28-5.  Operation List (1/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.   
 3.  Except r = A 
 
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
r, #byte 
− 
← byte 
 
PSW, #byte 
− 
PSW 
← byte 
× ×
×
CS, #byte 
− 
CS 
← byte 
 
ES, #byte 
− 
ES 
← byte 
 
!addr16, #byte 
− 
(addr16) 
← byte 
 
ES:!addr16, #byte 
− 
(ES, addr16) 
← byte 
 
saddr, #byte 
− 
(saddr) 
← byte 
 
sfr, #byte 
− 
sfr 
← byte 
 
[DE+byte], #byte 
− 
(DE+byte) 
← byte 
 
ES:[DE+byte],#byte 4  2 
− 
((ES, DE)+byte) 
← byte 
 
[HL+byte], #byte 
− 
(HL+byte) 
← byte 
 
ES:[HL+byte],#byte 4  2 
− 
((ES, HL)+byte) 
← byte 
 
[SP+byte], #byte 
− 
(SP+byte) 
← byte 
 
word[B], #byte 
− 
(B+word) 
← byte 
 
ES:word[B], #byte 
− 
((ES, B)+word) 
← byte 
 
word[C], #byte 
− 
(C+word) 
← byte 
 
ES:word[C], #byte 
− 
((ES, C)+word) 
← byte 
 
word[BC], #byte 
− 
(BC+word) 
← byte 
 
ES:word[BC], #byte 
− 
((ES, BC)+word) 
← byte 
 
A, r 
Note 3
 1 
− 
← r 
 
r, A 
Note 3
 1 
− 
← A 
 
A, PSW 
− 
← PSW 
 
PSW, A 
− 
PSW 
← A 
× ×
×
A, CS 
− 
← CS 
 
CS, A 
− 
CS 
← A 
 
A, ES 
− 
← ES 
 
ES, A 
− 
ES 
← A 
 
A, !addr16 
← (addr16) 
 
A, ES:!addr16 
← (ES, addr16) 
 
!addr16, A 
− 
(addr16) 
← A 
 
ES:!addr16, A 
− 
(ES, addr16) 
← A 
 
A, saddr 
− 
← (saddr) 
 
 
8-bit data 
transfer 
MOV 
saddr, A 
− 
(saddr) 
← A 
 
 
<R>