![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_544.png)
520
APPENDIX B INSTRUCTIONS
MB90560 series
Table B.8-14 Other control instructions (byte, word, long-word): 28 instructions
*1 PCB,ADB,SSB,USB ------------1
DTB,DPR --------------------------2
*2 7 + 3 x (pop count) + 2 x (last register number popped), 7 when RLST = 0 (no transfer
register)
*3 29 + 3 x (push count) - 3 x (last register number pushed), 8 when RLST = 0 (no transfer
register)
*4 (Pop count) x (c) or (push count) x (c)
*5 (Pop count) or (push count)
<Caution>
See Table B.5-1, "Number of execution cycles for each type of addressing," and
Table B.5-2, "Compensation values for calculating the number of execution cycles,"
for (a) to (d) in the above table.
Mnemonic
PUSHW
PUSHW
PUSHW
PUSHW
#
~
RG
B
(c)
(c)
(c)
*4
Operation
LH AH
-
-
-
-
I
S
T
N
Z
V
C
RMW
A
AH
PS
rlst
POPW
POPW
POPW
POPW
A
AH
PS
rlst
JCTX
@A
AND
OR
CCR,#imm8
CCR,#imm8
MOV
MOV
RP,#imm8
ILM,#imm8
MOVEA
MOVEA
MOVEA
MOVEA
RWi,ear
RWi,eam
A,ear
A,eam
ADDSP
ADDSP
#imm8
#imm16
MOV
MOV
A,brgl
brg2,A
NOP
ADB
DTB
PCB
SPB
NCC
CMR
1
1
1
2
1
1
1
2
1
2
2
2
2
2
2+
2
2+
2
3
2
2
1
1
1
1
1
1
1
4
4
4
*3
3
3
4
*2
14
3
3
2
2
3
2+(a)
1
1+(a)
3
3
*1
1
1
1
1
1
1
1
1
0
0
0
+&
0
0
0
+&
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
(c)
(c)
(c)
*4
6×(c)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
word (SP)
←
(SP) -2, ((SP))
←
(A)
word (SP)
←
(SP) -2, ((SP))
←
(AH)
word (SP)
←
(SP) -2, ((SP))
←
(PS)
(SP)
←
(SP) - 2n, ((SP))
←
(rlst)
word (A)
←
((SP)), (SP)
←
(SP) + 2
word (AH)
←
((SP)), (SP)
←
(SP) + 2
word (PS)
←
((SP)), (SP)
←
(SP) + 2
(rlst)
←
((SP)), (SP)
←
(SP)
Context switching instruction
byte (CCR)
←
(CCR) and imm8
byte (CCR)
←
(CCR) or imm8
byte (RP)
←
imm8
byte (ILM)
←
imm8
word (RWi)
←
ear
word (RWi)
←
eam
word (A)
←
ear
word (A)
←
eam
word (SP)
←
ext(imm8)
word (SP)
←
imm16
byte (A)
←
(brg1)
byte (brg2)
←
(A)
No operation
Prefix code for AD space access
Prefix code for DT space access
Prefix code for PC space access
Prefix code for SP space access
Prefix code for flag unchange setting
Prefix for common register banks
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-