![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_542.png)
518
APPENDIX B INSTRUCTIONS
MB90560 series
Table B.8-12 Branching instructions (1): 31 instructions
*1 4 when branching occurs, 3 otherwise
*2 3 x (c) + (b)
*3 Reads a branch destination address (word).
*4 Write: Saves to stack (word), Read: Reads a branch destination address (word).
*5 Saves to stack (word).
*6 Write: Saves to stack (long-word), Read: Reads a branch destination address (long-word).
*7 Saves to stack (long-word).
<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
BZ / BEQ rel
BNZ / BNE rel
BC / BLO rel
BNC / BHS rel
BN
BP
BV
BNV
BT
BNT
BLT
BGE
BLE
BGT
BLS
BHI
BRA
#
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
~
RG
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
B
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Operation
LH AH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
I
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
S
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
T
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
N
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
V
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
C
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
RMW
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
rel
rel
rel
rel
rel
rel
rel
rel
rel
rel
rel
rel
rel
JMP
JMP
JMP
JMP
JMPP
JMPP
JMPP
@A
addr16
@ear
@eam
@ear
@eam *1
addr24
*1
CALL
CALL
CALL
CALLV
CALLP
CALLP
@ear
@eam *2
addr16 *3
#vct4
@ear
@eam *4
*2
*3
*4
CALLP
addr24 *5
1
3
2
2+
2
2+
4
2
2+
3
1
2
2+
4
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
2
3
3
4+(a)
5
6+(a)
4
6
7+(a)
6
7
10
11+(a)
10
0
0
1
0
2
0
0
1
0
0
0
2
0
0
0
0
0
(c)
0
(d)
0
(c)
2×(c)
(c)
2×(c)
2×(c)
*2
2×(c)
Branch when (Z) = 1
Branch when (Z) = 0
Branch when (C) = 1
Branch when (C) = 0
Branch when (N) = 1
Branch when (N) = 0
Branch when (V) = 1
Branch when (V) = 0
Branch when (T) = 1
Branch when (T) = 0
Branch when (V) xor (N) = 1
Branch when (V) xor (N) = 0
Branch when ((V) xor (N)) or (Z) = 1
Branch when ((V) xor (N)) or (Z) = 0
Branch when (C) or (Z) = 1
Branch when (C) or (Z) = 0
Unconditional branching
word (PC)
←
(A)
word (PC)
←
addr16
word (PC)
←
(ear)
word (PC)
←
(eam)
word (PC)
←
(ear), (PCB)
←
(ear+2)
word (PC)
←
(eam), (PCB)
←
(eam+2)
word (PC)
←
ad24 0-15, (PCB)
←
ad24 16-23
word (PC)
←
(ear)
word (PC)
←
(eam)
word (PC)
←
addr16
Vector call instruction
word (PC)
←
(ear) 0-15, (PCB)
←
(ear)16-23
word (PC)
←
(eam) 0-15,
(PCB)
←
(eam)16-23
word (PC)
←
addr0-15, (PCB)
←
addr16-23
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-