MB95630H Series
624
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-2v0-E
APPENDIX A Instruction Overview
A.4 F
2
MC-8FX Instructions
■
Branch Instructions
■
Other Instructions
46 AND
A, #d8
2
2
(A)
←
(AL) d8
-
-
-
+
+
R
-
64
47 AND
A, dir
3
2
(A)
←
(AL) (dir)
-
-
-
+
+
R
-
65
48 AND
A, @EP
2
1
(A)
←
(AL) ( (EP) )
-
-
-
+
+
R
-
67
49 AND
A, @IX + off
3
2
(A)
←
(AL) ( (IX) + off)
-
-
-
+
+
R
-
66
50 AND
A, Ri
2
1
(A)
←
(AL) (Ri)
-
-
-
+
+
R
-
68 to 6F
51 OR
A
1
1
(A)
←
(AL) (TL)
-
-
-
+
+
R
-
72
52 OR
A, #d8
2
2
(A)
←
(AL) d8
-
-
-
+
+
R
-
74
53 OR
A, dir
3
2
(A)
←
(AL) (dir)
-
-
-
+
+
R
-
75
54 OR
A, @EP
2
1
(A)
←
(AL) ( (EP) )
-
-
-
+
+
R
-
77
55 OR
A, @IX + off
3
2
(A)
←
(AL) ( (IX) + off)
-
-
-
+
+
R
-
76
56 OR
A, Ri
2
1
(A)
←
(AL) (Ri)
-
-
-
+
+
R
-
78 to 7F
57 CMP
dir,
#d8
4
3
(dir)
-
d8
-
-
-
+ + + +
95
58 CMP
@EP, #d8
3
2
( (EP) ) - d8
-
-
-
+
+
+
+
97
59 CMP
@IX + off, #d8
4
3
( (IX) + off) - d8
-
-
-
+
+
+
+
96
60 CMP
Ri, #d8
3
2
(Ri) - d8
-
-
-
+
+
+
+
98 to 9F
61 INCW
SP
1
1
(SP)
←
(SP) + 1
-
-
-
-
-
-
-
C1
62 DECW
SP
1
1
(SP)
←
(SP) - 1
-
-
-
-
-
-
-
D1
Table A.4-3 Branch Instructions
No. MNEMONIC
~
#
Operation
TL
TH AH
N
Z
V
C
OPCODE
1
BZ/BEQ
rel(at branch)
4
2
if Z = 1 then PC
←
PC + rel
-
-
-
-
-
-
-
FD
BZ/BEQ
rel(at no branch)
2
2
BNZ/BNE
rel(at branch)
4
2
if Z = 0 then PC
←
PC + rel
-
-
-
-
-
-
-
FC
BNZ/BNE
rel(at no branch)
2
3
BC/BLO
rel(at branch)
4
2
if C = 1 then PC
←
PC + rel
-
-
-
-
-
-
-
F9
BC/BLO
rel(at no branch)
2
4
BNC/BHS
rel(at branch)
4
2
if C = 0 then PC
←
PC + rel
-
-
-
-
-
-
-
F8
BNC/BHS
rel(at no branch)
2
5
BN
rel(at branch)
4
2
if N = 1 then PC
←
PC + rel
-
-
-
-
-
-
-
FB
BN
rel(at no branch)
2
6
BP
rel(at branch)
4
2
if N = 0 then PC
←
PC + rel
-
-
-
-
-
-
-
FA
BP
rel(at no branch)
2
7
BLT
rel(at branch)
4
2
if V N = 1 then PC
←
PC + rel
-
-
-
-
-
-
-
FF
BLT
rel(at no branch)
2
8
BGE
rel(at branch)
4
2
if V N = 0 then PC
←
PC + rel
-
-
-
-
-
-
-
FE
BGE
rel(at no branch)
2
9
BBC
dir : b, rel
5
3
if (dir : b) = 0 then PC
←
PC + rel
-
-
-
-
+
-
-
B0 to B7
10 BBS
dir : b, rel
5
3
if (dir : b) = 1 then PC
←
PC + rel
-
-
-
-
+
-
-
B8 to BF
11 JMP
@A
3
1
(PC)
←
(A)
-
-
-
-
-
-
-
E0
12 JMP
ext
4
3
(PC)
←
ext
-
-
-
-
-
-
-
21
13 CALLV
#vct
7
1
vector call
-
-
-
-
-
-
-
E8 to EF
14 CALL
ext
6
3
subroutine call
-
-
-
-
-
-
-
31
15 XCHW
A, PC
3
1
(PC)
←
(A) , (A)
←
(PC) + 1
-
-
dH
-
-
-
-
F4
16 RET
6
1
return from subroutine
-
-
-
-
-
-
-
20
17 RETI
8
1
return from interrupt
-
-
-
restore
30
Table A.4-4 Other Instructions
No. MNEMONIC
~
#
Operation
TL
TH AH
N
Z
V
C
OPCODE
1
PUSHW
A
4
1
((SP))
←
(A), (SP)
←
(SP) - 2
-
-
-
-
-
-
-
40
2
POPW
A
3
1
(A)
←
((SP)), (SP)
←
(SP) + 2
-
-
dH
-
-
-
-
50
3
PUSHW
IX
4
1
((SP))
←
(IX), (SP)
←
(SP) - 2
-
-
-
-
-
-
-
41
4
POPW
IX
3
1
(IX)
←
((SP)), (SP)
←
(SP) + 2
-
-
-
-
-
-
-
51
5
NOP
1
1
No operation
-
-
-
-
-
-
-
00
6
CLRC
1
1
(C)
←
0
-
-
-
-
-
-
R
81
7
SETC
1
1
(C)
←
1
-
-
-
-
-
-
S
91
8
CLRI
1
1
(I)
←
0
-
-
-
-
-
-
-
80
9
SETI
1
1
(I)
←
1
-
-
-
-
-
-
-
90
Table A.4-2 Arithmetic Operation Instruction (2 / 2)
No. MNEMONIC
~
#
Operation
TL TH AH
N
Z
V
C
OPCODE
Содержание 8FX
Страница 2: ......
Страница 4: ......
Страница 8: ...iv ...
Страница 17: ...xiii A 3 Bit Manipulation Instructions SETB CLRB 621 A 4 F2 MC 8FX Instructions 622 A 5 Instruction Map 625 ...
Страница 18: ...xiv ...
Страница 22: ...xviii ...
Страница 108: ...MB95630H Series 86 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E CHAPTER 6 I O PORT 6 2 Configuration and Operations ...
Страница 284: ...MB95630H Series 262 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E CHAPTER 14 LIN UART 14 8 Notes on Using LIN UART ...
Страница 648: ...MB95630H Series 626 FUJITSU SEMICONDUCTOR LIMITED MN702 00009 2v0 E APPENDIX A Instruction Overview A 5 Instruction Map ...
Страница 650: ......