RL78/G1P
CHAPTER 26 INSTRUCTION SET
R01UH0895EJ0100 Rev.1.00
715
Nov 29, 2019
Table 26-5. Operation List (15/18)
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 program memory area is accessed.
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.
Instruction
Group
Mnemonic Operands Bytes Clocks
Operation
Flag
Note 1 Note 2
Z AC CY
Bit
manipulate
XOR1 CY,
A.bit
2
1
CY
CY
A.bit
×
CY, PSW.bit
3
1
CY
CY
PSW.bit
×
CY, saddr.bit
3
1
CY
CY
(saddr).bit
×
CY, sfr.bit
3
1
CY
CY
sfr.bit
×
CY, [HL].bit
2
1
4
CY
CY
(HL).bit
×
CY, ES:[HL].bit
3
2
5
CY
CY
(ES, HL).bit
×
SET1 A.bit
2 1
A.bit
1
PSW.bit 3
4
PSW.bit
1
× × ×
!addr16.bit 4
2
(addr16).bit
1
ES:!addr16.bit 5
3
(ES,
addr16).bit
1
saddr.bit 3
2
(saddr).bit
1
sfr.bit 3
2
sfr.bit
1
[HL].bit 2
2
(HL).bit
1
ES:[HL].bit 3
3
(ES,
HL).bit
1
CLR1 A.bit
2
1
A.bit
0
PSW.bit 3
4
PSW.bit
0
× × ×
!addr16.bit 4
2
(addr16).bit
0
ES:!addr16.bit 5
3
(ES,
addr16).bit
0
saddr.bit 3
2
(saddr.bit)
0
sfr.bit 3
2
sfr.bit
0
[HL].bit 2
2
(HL).bit
0
ES:[HL].bit 3
3
(ES,
HL).bit
0
SET1 CY
2 1
CY
1
1
CLR1 CY
2
1
CY
0
0
NOT1 CY
2
1
CY
CY
×