545
CHAPTER 28 INSTRUCTION OPERATION
User’s Manual U12697EJ3V0UM
(16) Call return instructions: CALL, CALLF, CALLT, BRK, BRKCS, RET, RETI, RETB, RETCS, RETCSB
Mnemonic
Operand
Bytes
Operation
Flag
S
Z
AC P/V CY
CALL
!addr16
3
(SP – 3)
←
(PC + 3), SP
←
SP – 3,
PC
HW
←
0, PC
LW
←
addr16
!!addr20
4
(SP – 3)
←
(PC + 4), SP
←
SP – 3,
PC
←
addr20
rp
2
(SP – 3)
←
(PC + 2), SP
←
SP – 3,
PC
HW
←
0, PC
LW
←
rp
rg
2
(SP – 3)
←
(PC + 2), SP
←
SP – 3,
PC
←
rg
[rp]
2
(SP – 3)
←
(PC + 2), SP
←
SP – 3,
PC
HW
←
0, PC
LW
←
(rp)
[rg]
2
(SP – 3)
←
(PC + 2), SP
←
SP – 3,
PC
←
(rg)
$!addr20
3
(SP – 3)
←
(PC + 3), SP
←
SP – 3,
PC
←
PC + 3 + jdisp16
CALLF
!addr11
2
(SP – 3)
←
(PC + 2), SP
←
SP – 3
PC
19–12
←
0, PC
11
←
1, PC
10–0
←
addr11
CALLT
[addr5]
1
(SP – 3)
←
(PC + 1), SP
←
SP – 3
PC
HW
←
0, PC
LW
←
(addr5)
BRK
1
(SP – 2)
←
PSW, (SP – 1)
0–3
←
, (PC + 1)
HW
,
(SP – 4)
←
(PC + 1)
LW
,
SP
←
SP – 4
PC
HW
←
0, PC
LW
←
(003EH)
BRKCS
RBn
2
PC
LW
←
RP2, RP3
←
PSW, RBS2 – 0
←
n,
RSS
←
0, IE
←
0, RP3
8–11
←
PC
HW
, PC
HW
←
0
RET
1
PC
←
(SP), SP
←
SP + 3
RETI
1
PC
LW
←
(SP), PC
HW
←
(SP + 3)
0–3
,
R
R
R
R
R
PSW
←
(SP + 2), SP
←
SP + 4
The flag with the highest priority that is set to one
in the ISPR is cleared to 0.
RETB
1
PC
LW
←
(SP), PC
HW
←
(SP + 3)
0–3
,
R
R
R
R
R
PSW
←
(SP + 2), SP
←
SP + 4
RETCS
!addr16
3
PSW
←
RP3, PC
LW
←
RP2, RP2
←
addr16,
R
R
R
R
R
PC
HW
←
RP3
8–11
The flag with the highest priority that is set to one
in the ISPR is cleared to 0.
RETCSB
!addr16
4
PSW
←
RP3, PC
LW
←
RP2, RP2
←
addr16,
R
R
R
R
R
PC
HW
←
RP3
8–11
Содержание mPD784225 Series
Страница 2: ...2 User s Manual U12697EJ3V0UM MEMO...