394
APPENDIX B Overview of the Instructions
Note:
At byte transfer operation to A, the automatic transfer to T is represented by TL
←
AL.
The operands in a multiple-operand instruction are stored in the order in which they are indicated in
MNEMONIC.
■
Operation Instructions
Table B.4-2 List of Operation Instructions (1 / 4)
No.
MNEMONIC
~
#
Operation
TL
TH
AH
N
Z
V
C
OP CODE
1
ADDC A, Ri
3
1
(A)
←
(A)+(Ri)+C
-
-
-
+
+
+
+
28 to 2F
2
ADDC A, #d8
2
2
(A)
←
(A)+d8+C
-
-
-
+
+
+
+
24
3
ADDC A, dir
3
2
(A)
←
(A)+(dir)+C
-
-
-
+
+
+
+
25
4
ADDC A, @IX+off
4
2
(A)
←
(A)+( (IX)+off)+C
-
-
-
+
+
+
+
26
5
ADDC A, @EP
3
1
(A)
←
(A)+( (EP) )+C
-
-
-
+
+
+
+
27
6
ADDCW A
3
1
(A)
←
(A)+(T)+C
-
-
dH
+
+
+
+
23
7
ADDC A
2
1
(AL)
←
(AL)+(TL)+C
-
-
-
+
+
+
+
22
8
SUBC A, Ri
3
1
(A)
←
(A)-(Ri)-C
-
-
-
+
+
+
+
38 to 3F
9
SUBC A, #d8
2
2
(A)
←
(A)-d8-C
-
-
-
+
+
+
+
34
10
SUBC A, dir
3
2
(A)
←
(A)-(dir)-C
-
-
-
+
+
+
+
35
11
SUBC A, @IX+off
4
2
(A)
←
(A)-( (IX)+off)-C
-
-
-
+
+
+
+
36
12
SUBC A, @EP
3
1
(A)
←
(A)-( (EP) )-C
-
-
-
+
+
+
+
37
13
SUBCW A
3
1
(A)
←
(T)-(A)-C
-
-
dH
+
+
+
+
33
14
SUBC A
2
1
(AL)
←
(TL)-(AL)-C
-
-
-
+
+
+
+
32
15
INC Ri
4
1
(Ri)
←
(Ri)+1
-
-
-
+
+
+
-
C8 to CF
16
INCW EP
3
1
(EP)
←
(EP)+1
-
-
-
-
-
-
-
C3
17
INCW IX
3
1
(IX)
←
(IX)+1
-
-
-
-
-
-
-
C2
18
INCW A
3
1
(A)
←
(A)+1
-
-
dH
+
+
-
-
C0
19
DEC Ri
4
1
(Ri)
←
(Ri)-1
-
-
-
+
+
+
-
D8 to DF
20
DECW EP
3
1
(EP)
←
(EP)-1
-
-
-
-
-
-
-
D3
21
DECW IX
3
1
(IX)
←
(IX)-1
-
-
-
-
-
-
-
D2
22
DECW A
3
1
(A)
←
(A)-1
-
-
dH
+
+
-
-
D0
23
MULU A
19
1
(A)
←
(AL) x (TL)
-
-
dH
+
+
+
+
01
24
DIVU A
21
1
(A)
←
(T)/(AL), MOD
→
(T)
dL
00
00
-
-
-
-
11
Содержание F2MC-8L F202RA
Страница 2: ......
Страница 4: ......
Страница 32: ...16 CHAPTER 1 OVERVIEW ...
Страница 90: ...74 CHAPTER 3 CPU ...
Страница 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Страница 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Страница 174: ...158 CHAPTER 7 8 BIT PWM TIMER User processing POPW A XCHW A T Restoring A and T POPW A RETI ENDS ...
Страница 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Страница 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Страница 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Страница 258: ...242 CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 EDGE PUSHW A User processing POPW A XCHW A T POPW A RETI ENDS END ...
Страница 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Страница 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Страница 371: ...355 CHAPTER 16 WILD REGISTER FUNCTION 16 3 5 Data Test Set Register WROR A test register Do not access this register ...
Страница 390: ...374 CHAPTER 17 FLASH MEMORY ...
Страница 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 434: ...418 INDEX ...
Страница 436: ......