MC96FM204/FM214
April 7, 2016 Ver. 1.8
165
17. APPENDIX
A. Instruction Table
Instructions are either
1, 2 or 3 bytes long as listed in the ‘Bytes’ column below.
Each instruction takes either 1, 2 or 4 machine cycles to execute as listed in the following table. 1 machine cycle
comprises 2 system clock cycles.
ARITHMETIC
Mnemonic
Description
Bytes
Cycles
Hex code
ADD A,Rn
Add register to A
1
1
28-2F
ADD A,dir
Add direct byte to A
2
1
25
ADD A,@Ri
Add indirect memory to A
1
1
26-27
ADD A,#data
Add immediate to A
2
1
24
ADDC A,Rn
Add register to A with carry
1
1
38-3F
ADDC A,dir
Add direct byte to A with carry
2
1
35
ADDC A,@Ri
Add indirect memory to A with carry
1
1
36-37
ADDC A,#data
Add immediate to A with carry
2
1
34
SUBB A,Rn
Subtract register from A with borrow
1
1
98-9F
SUBB A,dir
Subtract direct byte from A with borrow
2
1
95
SUBB A,@Ri
Subtract indirect memory from A with borrow
1
1
96-97
SUBB A,#data
Subtract immediate from A with borrow
2
1
94
INC A
Increment A
1
1
04
INC Rn
Increment register
1
1
08-0F
INC dir
Increment direct byte
2
1
05
INC @Ri
Increment indirect memory
1
1
06-07
DEC A
Decrement A
1
1
14
DEC Rn
Decrement register
1
1
18-1F
DEC dir
Decrement direct byte
2
1
15
DEC @Ri
Decrement indirect memory
1
1
16-17
INC DPTR
Increment data pointer
1
2
A3
MUL AB
Multiply A by B
1
4
A4
DIV AB
Divide A by B
1
4
84
DA A
Decimal Adjust A
1
1
D4
LOGICAL
Mnemonic
Description
Bytes
Cycles
Hex code
ANL A,Rn
AND register to A
1
1
58-5F
ANL A,dir
AND direct byte to A
2
1
55
ANL A,@Ri
AND indirect memory to A
1
1
56-57
ANL A,#data
AND immediate to A
2
1
54
ANL dir,A
AND A to direct byte
2
1
52
ANL dir,#data
AND immediate to direct byte
3
2
53
ORL A,Rn
OR register to A
1
1
48-4F
ORL A,dir
OR direct byte to A
2
1
45
ORL A,@Ri
OR indirect memory to A
1
1
46-47
ORL A,#data
OR immediate to A
2
1
44
ORL dir,A
OR A to direct byte
2
1
42
ORL dir,#data
OR immediate to direct byte
3
2
43
XRL A,Rn
Exclusive-OR register to A
1
1
68-6F
XRL A,dir
Exclusive-OR direct byte to A
2
1
65
Summary of Contents for MC96FM204
Page 17: ...MC96FM204 FM214 April 7 2016 Ver 1 8 17 4 Package Diagram Figure 4 1 20 Pin SOP Package ...
Page 18: ...MC96FM204 FM214 18 April 7 2016 Ver 1 8 Figure 4 2 20 Pin TSSOP Package ...
Page 19: ...MC96FM204 FM214 April 7 2016 Ver 1 8 19 Figure 4 3 16 Pin SOP Package ...
Page 20: ...MC96FM204 FM214 20 April 7 2016 Ver 1 8 Figure 4 4 16 Pin TSSOP Package ...