Branch Instructions - Fujitsu Semiconductor Controller MB89950/950A Hardware Manual

F2mc-8l 8-bit microcontroller
Table of Contents

Advertisement

APPENDIX
I Branch instructions
Table B.5-3 Branch instructions
No.
MNEMONIC
1
BZ/BEQ rel
2
BNZ/BNE rel
3
BC/BLO rel
4
BNC/BHS rel
5
BN rel
6
BP rel
7
BLT rel
8
BGE rel
9
BBC dir:b, rel
10
BBS dir:b, rel
11
JMP @A
12
JMP ext
13
CALLV #vct
14
CALL ext
15
XCHW A, PC
16
RET
17
RETI
284
#
Operation
3
2
if Z=1 then PC<--PC+rel
3
2
if Z=0 then PC<--PC+rel
3
2
if C=1 then PC<--PC+rel
3
2
if C=0 then PC<--PC+rel
3
2
if N=1 then PC<--PC+rel
3
2
if N=0 then PC<--PC+rel
3
2
if V
N=1 then PC<--PC+rel
3
2
if V
N=0 then PC<--PC+rel
5
3
if (dir:b)=0 then PC<--PC+rel
5
3
if (dir:b)=1 then PC<--PC+rel
2
1
(PC)<--(A)
3
3
(PC)<--ext
6
1
vector call
6
3
subroutine call
3
1
(PC)<--(A), (A)<--(PC)+1
4
1
return from subroutine
6
1
return from interrupt
TL
TH
AH
N
Z
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
dH
-
-
-
-
-
-
-
-
-
-
restore
V
C OP CODE
-
-
FD
-
-
FC
-
-
F9
-
-
F8
-
-
FB
-
-
FA
-
-
FF
-
-
FE
-
-
B0 to B7
-
-
B8 to BF
-
-
E0
-
-
21
-
-
E8 to EF
-
-
31
-
-
F4
-
-
20
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb89950 seriesMb89950a series

Table of Contents