Renesas RL78/G1P Hardware User Manual page 737

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
Instruction
Mnemonic
Group
Condition
BF
saddr.bit, $addr20
al branch
sfr.bit, $addr20
A.bit, $addr20
PSW.bit, $addr20
[HL].bit, $addr20
ES:[HL].bit,
$addr20
BTCLR
saddr.bit, $addr20
sfr.bit, $addr20
A.bit, $addr20
PSW.bit, $addr20
[HL].bit, $addr20
ES:[HL].bit,
$addr20
Conditional
SKC
skip
SKNC
SKZ
SKNZ
SKH
SKNH
Note 4
CPU
SEL
RBn
control
NOP
EI
DI
HALT
STOP
Notes 1.
Number of CPU clocks (f
when no data is accessed.
2.
Number of CPU clocks (f
3.
This indicates the number of clocks "when condition is not met/when condition is met".
4.
n indicates the number of register banks (n = 0 to 3).
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.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Table 26-5. Operation List (18/18)
Operands
Bytes
Note 1 Note 2
4
3/5
4
3/5
3
3/5
4
3/5
3
3/5
4
4/6
4
3/5
4
3/5
3
3/5
4
3/5
3
3/5
4
4/6
2
2
2
2
2
2
2
1
3
3
2
2
) when the internal RAM area, SFR area, or extended SFR area is accessed, or
CLK
) when the program memory area is accessed.
CLK
Clocks
PC  PC + 4 + jdisp8 if (saddr).bit = 0
Note 3
PC  PC + 4 + jdisp8 if sfr.bit = 0
Note 3
PC  PC + 3 + jdisp8 if A.bit = 0
Note 3
PC  PC + 4 + jdisp8 if PSW.bit = 0
Note 3
PC  PC + 3 + jdisp8 if (HL).bit = 0
Note 3
6/7
PC  PC + 4 + jdisp8 if (ES, HL).bit = 0
Note 3
7/8
PC  PC + 4 + jdisp8 if (saddr).bit = 1
Note 3
then reset (saddr).bit
PC  PC + 4 + jdisp8 if sfr.bit = 1
Note 3
then reset sfr.bit
PC  PC + 3 + jdisp8 if A.bit = 1
Note 3
then reset A.bit
PC  PC + 4 + jdisp8 if PSW.bit = 1
Note 3
then reset PSW.bit
PC  PC + 3 + jdisp8 if (HL).bit = 1
Note 3
then reset (HL).bit
PC  PC + 4 + jdisp8 if (ES, HL).bit = 1
Note 3
then reset (ES, HL).bit
1
Next instruction skip if CY = 1
1
Next instruction skip if CY = 0
1
Next instruction skip if Z = 1
1
Next instruction skip if Z = 0
1
Next instruction skip if (ZCY)=0
1
Next instruction skip if (ZCY)=1
RBS[1:0]  n
1
1
No Operation
IE  1 (Enable Interrupt)
4
IE  0 (Disable Interrupt)
4
3
Set HALT Mode
3
Set STOP Mode
CHAPTER 26 INSTRUCTION SET
Operation
Flag
Z
AC CY
×
×
×
718

Advertisement

Table of Contents
loading

Table of Contents