235
CHAPTER 18 INSTRUCTION SET
User’s Manual U15104EJ2V0UD
Instruction Mnemonic
Operands
Byte
Clock
Operation
Flag
Group
Note 1
Note 2
Z AC CY
Call/return
CALL
!addr16
3
7
–
(SP – 1)
←
(PC + 3)
H
, (SP – 2)
←
(PC + 3)
L
,
PC
←
addr16, SP
←
SP – 2
CALLF
!addr11
2
5
–
(SP – 1)
←
(PC + 2)
H
, (SP – 2)
←
(PC + 2)
L
,
PC
15-11
←
00001, PC
10-0
←
addr11,
SP
←
SP – 2
CALLT
[addr5]
1
6
–
(SP – 1)
←
(PC + 1)
H
, (SP – 2)
←
(PC + 1)
L
,
PC
H
←
(00000000, addr5 + 1),
PC
L
←
(00000000, addr5),
SP
←
SP – 2
BRK
1
6
–
(SP – 1)
←
PSW, (SP – 2)
←
(PC + 1)
H
,
(SP – 3)
←
(PC + 1)
L
, PC
H
←
(003FH),
PC
L
←
(003EH), SP
←
SP – 3, IE
←
0
RET
1
6
–
PC
H
←
(SP + 1), PC
L
←
(SP),
SP
←
SP + 2
RETI
1
6
–
PC
H
←
(SP + 1), PC
L
←
(SP),
R
R
R
PSW
←
(SP + 2), SP
←
SP + 3,
NMIS
←
0
RETB
1
6
–
PC
H
←
(SP + 1), PC
L
←
(SP),
R
R
R
PSW
←
(SP + 2), SP
←
SP + 3
Stack
PUSH
PSW
1
2
–
(SP – 1)
←
PSW, SP
←
SP – 1
manipulate
rp
1
4
–
(SP – 1)
←
rp
H
, (SP – 2)
←
rp
L
,
SP
←
SP – 2
POP
PSW
1
2
–
PSW
←
(SP), SP
←
SP + 1
R
R
R
rp
1
4
–
rp
H
←
(SP + 1), rp
L
←
(SP),
SP
←
SP + 2
MOVW
SP, #word
4
–
10
SP
←
word
SP, AX
2
–
8
SP
←
AX
AX, SP
2
–
8
AX
←
SP
Uncondi-
BR
!addr16
3
6
–
PC
←
addr16
tional
$addr16
2
6
–
PC
←
PC + 2 + jdisp8
branch
AX
2
8
–
PC
H
←
A, PC
L
←
X
Conditional BC
$addr16
2
6
–
PC
←
PC + 2 + jdisp8 if CY = 1
branch
BNC
$addr16
2
6
–
PC
←
PC + 2 + jdisp8 if CY = 0
BZ
$addr16
2
6
–
PC
←
PC + 2 + jdisp8 if Z = 1
BNZ
$addr16
2
6
–
PC
←
PC + 2 + jdisp8 if Z = 0
Notes 1. When the internal high-speed RAM area is accessed or instruction with no data access
2. When an area except the internal high-speed RAM area is accessed
Remarks 1. One instruction clock cycle is one cycle of the CPU clock (f
CPU
) selected by the PCC register.
2. This clock cycle applies to internal ROM program.