Branch Instructions - Fujitsu MB89140 Series Hardware Manual

Table of Contents

Advertisement

4.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
INSTRUCTIONS
~
#
OPERATION
3
2
if Z=1 then PC
PC+rel
if Z=0 then PC
PC+rel
3
2
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
4-5
TL
TH AH
N Z V C
OP CODE
— — — —
— — — —
— — — —
— — — —
— — — —
— — — —
— — — —
— — — —
B0 to B7
— + — —
B8 to BF
— + — —
— — — —
— — — —
E8 to EF
— — — —
— — — —
dH
— — — —
— — — —
restore
FD
FC
F9
F8
FB
FA
FF
FE
E0
21
31
F4
20
30

Advertisement

Table of Contents
loading

Table of Contents