Fujitsu F2MC-8FX Hardware Manual page 587

F2mc-8fx 8-bit microcontroller
Hide thumbs Also See for F2MC-8FX:
Table of Contents

Advertisement

Table C.4-2 Arithmetic Operation Instruction (2 / 2)
No.
MNEMONIC
46 AND
A, #d8
47 AND
A, dir
48 AND
A, @EP
49 AND
A, @IX + off
50 AND
A, Ri
51 OR
A
52 OR
A, #d8
53 OR
A, dir
54 OR
A, @EP
55 OR
A, @IX + off
56 OR
A, Ri
57 CMP
dir, #d8
58 CMP
@EP, #d8
59 CMP
@IX + off, #d8
60 CMP
Ri, #d8
61 INCW
SP
62 DECW
SP
Branch Instructions
Table C.4-3 Branch Instructions
No.
MNEMONIC
1 BZ/BEQ
rel(at branch)
BZ/BEQ
rel(at no branch)
2 BNZ/BNE
rel(at branch)
BNZ/BNE
rel(at no branch)
3 BC/BLO
rel(at branch)
BC/BLO
rel(at no branch)
4 BNC/BHS
rel(at branch)
BNC/BHS
rel(at no branch)
5 BN
rel(at branch)
BN
rel(at no branch)
6 BP
rel(at branch)
BP
rel(at no branch)
7 BLT
rel(at branch)
BLT
rel(at no branch)
8 BGE
rel(at branch)
BGE
rel(at no branch)
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
Other Instructions
Table C.4-4 Other Instructions
No.
MNEMONIC
1 PUSHW
A
2 POPW
A
3 PUSHW
IX
4 POPW
IX
5 NOP
6 CLRC
7 SETC
8 CLRI
9 SETI
~
#
2 (A) ← (AL)
2
d8
2 (A) ← (AL)
3
(dir)
1 (A) ← (AL)
2
( (EP) )
2 (A) ← (AL)
3
( (IX) + off)
1 (A) ← (AL)
2
(Ri)
1 (A) ← (AL)
1
(TL)
2 (A) ← (AL)
2
d8
2 (A) ← (AL)
3
(dir)
1 (A) ← (AL)
2
( (EP) )
2 (A) ← (AL)
3
( (IX) + off)
1 (A) ← (AL)
2
(Ri)
4
3
(dir) - d8
3
2
( (EP) ) - d8
4
3
( (IX) + off) - d8
3
2
(Ri) - d8
1 (SP) ← (SP) + 1
1
1 (SP) ← (SP) - 1
1
~
#
Operation
4
2
ifZ = 1thenPC←PC + rel
2
4
2
ifZ = 0thenPC←PC + rel
2
4
2
ifC = 1thenPC←PC + rel
2
4
2
ifC = 0thenPC←PC + rel
2
4
2
ifN = 1thenPC←PC + rel
2
4
2
ifN = 0thenPC←PC + rel
2
4
2
ifV N = 1thenPC←PC + rel
2
4
2
ifV N = 0thenPC←PC + rel
2
5
3
if (dir : b) = 0thenPC←PC + rel
5
3
if (dir : b) = 1thenPC←PC + rel
(PC) ← (A)
3
1
(PC) ← ext
4
3
7
1
vectorcall
6
3
subroutinecall
(PC) ← (A) , (A) ← (PC) + 1
3
1
6
1
returnfromsubroutine
8
1
returnfrominterrupt
~
#
Operation
4
1 ((SP))←(A), (SP)←(SP) - 2
3
1 (A)←((SP)), (SP)←(SP) + 2
4
1 ((SP))←(IX), (SP)←(SP) - 2
3
1 (IX)←((SP)), (SP)←(SP) + 2
1
1 No operation
1
1 (C)←0
1
1 (C)←1
1
1 (I)←0
1
1 (I)←1
Operation
TL
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TL TH AH
APPENDIX C Instruction Overview
TL TH AH N
Z
V
C
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
R
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+
-
-
-
+
+
+
+
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TH AH
N
Z
V
C
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
dH
-
-
-
-
-
-
-
-
-
-
-
-
restore
N
Z
V
C
-
-
-
-
-
-
-
-
-
dH
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
R
-
-
-
-
-
-
S
-
-
-
-
-
-
-
-
-
-
-
-
-
-
OPCODE
64
65
67
66
68 to 6F
72
74
75
77
76
78 to 7F
95
97
96
98 to 9F
C1
D1
OPCODE
FD
FC
F9
F8
FB
FA
FF
FE
B0 to B7
B8 to BF
E0
21
E8 to EF
31
F4
20
30
OPCODE
40
50
41
51
00
81
91
80
90
573

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95170j series

Table of Contents