RL78/G1P
CHAPTER 26 INSTRUCTION SET
R01UH0895EJ0100 Rev.1.00
714
Nov 29, 2019
Table 26-5. Operation List (14/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
Rotate ROR A,
1
2
1
(CY,
A
7
A
0
, A
m-1
A
m
)×1
×
ROL A,
1
2 1
(CY,
A
0
A
7
, A
m+1
A
m
)×1
×
RORC A,
1
2
1
(CY
A
0
, A
7
CY, A
m-1
A
m
)×1
×
ROLC A,
1
2
1
(CY
A
7
, A
0
CY, A
m+1
A
m
)×1
×
ROLWC AX,1
2
1
(CY
AX
15
, AX
0
CY, AX
m+1
AX
m
) ×1
×
BC,1 2
1
(CY
BC
15
, BC
0
CY, BC
m+1
BC
m
) ×1
×
Bit
manipulate
MOV1 CY,
A.bit
2
1
CY
A.bit
×
A.bit, CY
2
1
A.bit
CY
CY, PSW.bit
3
1
CY
PSW.bit
×
PSW.bit, CY
3
4
PSW.bit
CY
× ×
CY, saddr.bit
3
1
CY
(saddr).bit
×
saddr.bit, CY
3
2
(saddr).bit
CY
CY, sfr.bit
3
1
CY
sfr.bit
×
sfr.bit, CY
3
2
sfr.bit
CY
CY,[HL].bit 2
1
4
CY
(HL).bit
×
[HL].bit, CY
2
2
(HL).bit
CY
CY, ES:[HL].bit
3
2
5
CY
(ES, HL).bit
×
ES:[HL].bit, CY
3
3
(ES,
HL).bit
CY
AND1 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
×
OR1 CY,
A.bit
2 1
CY
CY
A.bit
×
CY, PSW.bit
3
1
CYX
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
×