571
APPENDIX C Instruction Overview
C.4 F
2
MC-8FX Instructions
Table C.4-1 to Table C.4-4 show the instructions used by the F
2
MC-8FX.
■
Transfer Instructions
Table C.4-1 Transfer Instructions
No. MNEMONIC
~
#
Operation
TL TH AH N
Z
V
C
OPCODE
1
MOV
dir, A
3
2
(dir)
←
(A)
-
-
-
-
-
-
-
45
2
MOV
@IX + off, A
3
2
( (IX) + off)
←
(A)
-
-
-
-
-
-
-
46
3
MOV
ext, A
4
3
(ext)
←
(A)
-
-
-
-
-
-
-
61
4
MOV
@EP, A
2
1
( (EP) )
←
(A)
-
-
-
-
-
-
-
47
5
MOV
Ri, A
2
1
(Ri)
←
(A)
-
-
-
-
-
-
-
48 to 4F
6
MOV
A, #d8
2
2
(A)
←
d8
AL
-
-
+ + -
-
04
7
MOV
A, dir
3
2
(A)
←
(dir)
AL
-
-
+
+
-
-
05
8
MOV
A, @IX + off
3
2
(A)
←
( (IX) - off)
AL
-
-
+
+
-
-
06
9
MOV
A, ext
4
3
(A)
←
(ext)
AL
-
-
+
+
-
-
60
10 MOV
A, @A
2
1
(A)
←
( (A) )
AL
-
-
+
+
-
-
92
11 MOV
A, @EP
2
1
(A)
←
( (EP) )
AL
-
-
+
+
-
-
07
12 MOV
A, Ri
2
1
(A)
←
(Ri)
AL
-
-
-
+
-
-
08 to 0F
13 MOV
dir, #d8
4
3
(dir)
←
d8
-
-
-
-
-
-
-
85
14 MOV
@IX + off, #d8
4
3
( (IX) + off)
←
d8
-
-
-
-
-
-
-
86
15 MOV
@EP, #d8
3
2
( (EP) )
←
d8
-
-
-
-
-
-
-
87
16 MOV
Ri, #d8
3
2
(Ri)
←
d8
-
-
-
-
-
-
-
88 to 8F
17 MOVW
dir, A
4
2
(dir)
←
(AH) , (dir + 1)
←
(AL)
-
-
-
-
-
-
-
D5
18 MOVW
@IX + off, A
4
2
( (IX) + off)
←
(AH) , ( (IX) + off + 1)
←
(AL)
-
-
-
-
-
-
-
D6
19 MOVW
ext, A
5
3
(ext)
←
(AH) , (ext + 1)
←
(AL)
-
-
-
-
-
-
-
D4
20 MOVW
@EP, A
3
1
( (EP) )
←
(AH) , ( (EP) + 1)
←
(AL)
-
-
-
-
-
-
-
D7
21 MOVW
EP, A
1
1
(EP)
←
(A)
-
-
-
-
-
-
-
E3
22 MOVW
A, #d16
3
3
(A)
←
d16
AL AH dH
+ + -
-
E4
23 MOVW
A, dir
4
2
(AH)
←
(dir) , (AL)
←
(dir - 1)
AL AH dH
+
+
-
-
C5
24 MOVW
A, @IX + off
4
2
(AH)
←
( (IX) + off) , (AL)
←
( (IX) + off-1)
AL AH dH
-
+
-
-
C6
25 MOVW
A, ext
5
3
(AH)
←
(ext) , (AL)
←
(ext - 1)
AL AH dH
+
+
-
-
C4
26 MOVW
A, @A
3
1
(AH)
←
( (A) ) , (AL)
←
( (A) + 1)
AL AH dH
+
+
-
-
93
27 MOVW
A, @EP
3
1
(AH)
←
( (EP) ) , (AL)
←
( (EP) + 1)
AL AH dH
-
+
-
-
C7
28 MOVW
A, EP
1
1
(A)
←
(EP)
-
-
dH
-
-
-
-
F3
29 MOVW
EP, #d16
3
3
(EP)
←
d16
-
-
-
-
-
-
-
E7
30 MOVW
IX, A
1
1
(IX)
←
(A)
-
-
-
-
-
-
-
E2
31 MOVW
A, IX
1
1
(A)
←
(IX)
-
-
dH
-
-
-
-
F2
32 MOVW
SP, A
1
1
(SP)
←
(A)
-
-
-
-
-
-
-
E1
33 MOVW
A, SP
1
1
(A)
←
(SP)
-
-
dH
-
-
-
-
F1
34 MOV
@A, T
2
1
( (A) )
←
(T)
-
-
-
-
-
-
-
82
35 MOVW
@A, T
3
1
( (A) )
←
(TH) , ( (A) - 1)
←
(TL)
-
-
-
-
-
-
-
83
36 MOVW
IX, #d16
3
3
(IX)
←
d16
-
-
-
-
-
-
-
E6
37 MOVW
A, PS
1
1
(A)
←
(PS)
-
-
dH
-
-
-
-
70
38 MOVW
PS, A
1
1
(PS)
←
(A)
-
-
-
+
+
-
+
71
39 MOVW
SP, #d16
3
3
(SP)
←
d16
-
-
-
-
-
-
-
E5
40 SWAP
1
1
(AH)
←→
(AL)
-
-
AL
-
-
-
-
10
41 SETB
dir:b
4
2
(dir) : b
←
1
-
-
-
-
-
-
-
A8 to AF
42 CLRB
dir:b
4
2
(dir) : b
←
0
-
-
-
-
-
-
-
A0 to A7
43 XCH
A, T
1
1
(AL)
←→
(TL)
AL
-
-
-
-
-
-
42
44 XCHW
A, T
1
1
(A)
←→
(T)
AL AH dH
-
-
-
-
43
45 XCHW
A, EP
1
1
(A)
←→
(EP)
-
-
dH
-
-
-
-
F7
46 XCHW
A, IX
1
1
(A)
←→
(IX)
-
-
dH
-
-
-
-
F6
47 XCHW
A, SP
1
1
(A)
←→
(SP)
-
-
dH
-
-
-
-
F5
48 MOVW
A, PC
2
1
(A)
←
(PC)
-
-
dH
-
-
-
-
F0
Содержание F2 MC-8FX Family
Страница 2: ......
Страница 4: ......
Страница 30: ...16 CHAPTER 1 DESCRIPTION 1 FPT 64P M23 FPT 64P M24 2 For the I O circuit type refer to 1 8 I O Circuit Type ...
Страница 34: ...20 CHAPTER 1 DESCRIPTION ...
Страница 35: ...21 CHAPTER 2 HANDLING DEVICES This chapter gives notes on using 2 1 Device Handling Precautions ...
Страница 38: ...24 CHAPTER 2 HANDLING DEVICES ...
Страница 39: ...25 CHAPTER 3 MEMORY SPACE This chapter describes memory space 3 1 Memory Space 3 2 Memory Map ...
Страница 43: ...29 CHAPTER 4 MEMORY ACCESS MODE This chapter describes the memory access mode 4 1 Memory Access Mode ...
Страница 56: ...42 CHAPTER 5 CPU ...
Страница 73: ...59 CHAPTER 6 CLOCK CONTROLLER ...
Страница 96: ...82 CHAPTER 6 CLOCK CONTROLLER ...
Страница 104: ...90 CHAPTER 7 RESET ...
Страница 105: ...91 CHAPTER 8 INTERRUPTS This chapter explains the interrupts 8 1 Interrupts ...
Страница 174: ...160 CHAPTER 10 TIMEBASE TIMER ...
Страница 184: ...170 CHAPTER 10 TIMEBASE TIMER ...
Страница 218: ...204 CHAPTER 13 WATCH PRESCALER ...
Страница 257: ...243 CHAPTER 16 8 16 BIT COMPOSITE TIMER ...
Страница 261: ...247 CHAPTER 16 8 16 BIT COMPOSITE TIMER ...
Страница 288: ...274 CHAPTER 16 8 16 BIT COMPOSITE TIMER ...
Страница 301: ...287 CHAPTER 17 16 BIT PPG TIMER ...
Страница 316: ...302 CHAPTER 17 16 BIT PPG TIMER ...
Страница 382: ...368 CHAPTER 21 UART SIO DEDICATED BAUD RATE GENERATOR ...
Страница 390: ...376 CHAPTER 22 I2C ...
Страница 395: ...381 CHAPTER 22 I2C ...
Страница 399: ...385 CHAPTER 22 I2C ...
Страница 430: ...416 CHAPTER 23 10 BIT A D CONVERTER ...
Страница 476: ...462 CHAPTER 24 LCD CONTROLLER ...
Страница 482: ...468 CHAPTER 25 LOW VOLTAGE DETECTION RESET CIRCUIT ...
Страница 494: ...480 CHAPTER 26 CLOCK SUPERVISOR ...
Страница 507: ...493 CHAPTER 27 REAL TIME CLOCK ...
Страница 523: ...509 CHAPTER 27 REAL TIME CLOCK ...
Страница 532: ...518 CHAPTER 27 REAL TIME CLOCK ...
Страница 536: ...522 CHAPTER 28 256 KBIT FLASH MEMORY ...
Страница 554: ...540 CHAPTER 28 256 KBIT FLASH MEMORY ...
Страница 564: ...550 CHAPTER 29 EXAMPLE OF SERIAL PROGRAMMING CONNECTION ...
Страница 595: ...581 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 596: ...582 INDEX Index ...
Страница 597: ...583 INDEX ...
Страница 599: ...585 Pin Function Index V2 LCD power supply driving pin 2 439 V3 LCD power supply driving pin 3 439 ...
Страница 600: ...586 Pin Function Index ...
Страница 602: ......