
555
APPENDIX B Instructions
B.8
F2MC-16LX Instruction List
Instruction (first byte = 7DH)" list the instructions used by the F2MC-16LX.
s F2MC-16LX Instruction List
Note:
Count Correction Values for Counting Execution Cycles" for information on (a) to (d) in the
table.
Table B.8-1 41 Transfer Instructions (byte)
Mnemonic
#
RG
B
Operation
L
H
A
H
IS
T
N
Z
V
C
R
M
W
MOV
MOVN
A,dir
A,addr16
A,Ri
A,ear
A,eam
A,io
A,#imm8
A,@A
A,@RLi+disp8
A,#imm4
2
3
1
2
2+
2
3
1
3
4
2
3+(a)
3
2
3
10
1
0
1
0
2
0
(b)
0
(b)
0
(b)
0
byte (A) <-- (dir)
byte (A) <-- (addr16)
byte (A) <-- (Ri)
byte (A) <-- (ear)
byte (A) <-- (eam)
byte (A) <-- (io)
byte (A) <-- imm8
byte (A) <-- ((A))
byte (A) <-- ((RLi)+disp8)
byte (A) <-- imm4
Z
*
-
*
-
*
R
*
-
MOVX
A,dir
A,addr16
A,Ri
A,ear
A,eam
A,io
A,#imm8
A,@A
A,@RWi+disp8
A,@RLi+disp8
2
3
2
2+
2
3
4
2
3+(a)
3
2
3
5
10
0
1
0
1
2
(b)
0
(b)
0
(b)
byte (A) <-- (dir)
byte (A) <-- (addr16)
byte (A) <-- (Ri)
byte (A) <-- (ear)
byte (A) <-- (eam)
byte (A) <-- (io)
byte (A) <-- imm8
byte (A) <-- ((A))
byte (A) <-- ((RWi)+disp8)
byte (A) <-- ((RLi)+disp8
X
*
-
*
-
*
-
MOV
dir,A
addr16,A
Ri,A
ear,A
eam,A
io,A
@RLi+disp8,A
Ri,ear
Ri,eam
ear,Ri
eam,Ri
Ri,#imm8
io,#imm8
dir,#imm8
ear,#imm8
eam,#imm8
@AL,AH/ MOV
@A,T
2
3
1
2
2+
2
3
2
2+
2
2+
2
3
3+
2
3
4
2
3+(a)
3
10
3
4+(a)
4
5+(a)
2
5
2
4+(a)
3
0
1
0
2
1
2
1
0
1
0
(b)
0
(b)
0
(b)
0
(b)
0
(b)
0
(b)
byte (dir) <-- (A)
byte (addr16) <-- (A)
byte (Ri) <-- (A)
byte (ear) <-- (A)
byte (eam) <-- (A)
byte (io) <-- (A)
byte ((RLi)+disp8) <-- (A)
byte (Ri) <-- (ear)
byte (Ri) <-- (eam)
byte (ear) <-- (Ri)
byte (eam) <-- (Ri)
byte (Ri) <-- imm8
byte (io) <-- imm8
byte (dir) <-- imm8
byte (ear) <-- imm8
byte (eam) <-- imm8
byte ((A)) <-- (AH)
-
*
-
*
-
*
-
*
-
*
-
XCH
A,ear
A,eam
Ri,ear
Ri,eam
2
2+
2
2+
4
5+(a)
7
9+(a)
2
0
4
2
0
2×(b)
0
2×(b)
byte (A) <--> (ear)
byte (A) <--> (eam)
byte (Ri) <--> (ear)
byte (Ri) <--> (eam)
Z
-