Branch Instructions - Fujitsu F2MC-8L F202RA Hardware Manual

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

Table B.4-2 List of Operation Instructions (4 / 4)
No.
MNEMONIC
58
CMP @EP, #d8
59
CMP @IX+off, #d8
60
CMP Ri, #d8
61
INCW SP
62
DECW SP

Branch Instructions

Table B.4-3 List of 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
~
#
Operation
4
2
( (EP) )-d8
5
3
( (IX)+off)-d8
4
2
(Ri)-d8
(SP) ← (SP)+1
3
1
(SP) ← (SP)-1
3
1
~
#
Operation
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
3
2
if
N=1 then PC
3
2
if
N=0 then PC
if(dir:b)=0 then PC ← PC+rel
5
3
if(dir:b)=1 then PC ← PC+rel
5
3
(PC) ← (A)
2
1
(PC) ← ext
3
3
6
1
vector call
6
3
subroutine call
(PC) ← (A), (A) ← (PC)+1
3
1
4
1
return from subroutine
6
1
return from interrupt
TL
TH
AH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TL
TH
AH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PC+rel
-
-
-
PC+rel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
dH
-
-
-
-
-
-
N
Z
V
C
OP CODE
+
+
+
+
+
+
+
+
+
+
+
+
98 to 9F
-
-
-
-
-
-
-
-
N
Z
V
C
OP CODE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
B0 to B7
-
+
-
-
B8 to BF
-
-
-
-
-
-
-
-
-
-
-
-
E8 to EF
-
-
-
-
-
-
-
-
-
-
-
-
restore
97
96
C1
D1
FD
FC
F9
F8
FB
FA
FF
FE
E0
21
31
F4
20
30
397

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents