Legacy-Free Keyboard/Embedded Controller with SPI and LPC Docking Interface
Table A.2 8051 Instruction Set (continued)
BYTE
INSTRUCTION
CYCLES
HEX
INSTRUCTION
DESCRIPTION
COUNT
CODE
SUBB A, Rn
Subtract register from A with
borrow
1
2
1
2
1
1
2
1
2
1
98-9F
SUBB A, direct
SUBB A, @Ri
SUBB A, #data
Subtract direct byte from A with
borrow
95
Subtract data memory from A with
borrow
96-97
94
Subtract immediate from A with
borrow
INC A
Increment A
04
08-0F
05
INC Rn
Increment register
Increment direct byte
Increment data memory
Decrement A
INC direct
INC @Ri
DEC A
2
1
2
1
06-07
14
DEC Rn
DEC direct
DEC @Ri
INC DPTR
MUL AB
DIV AB
Decrement register
Decrement direct byte
Decrement data memory
Increment data pointer
Multiply A by B
1
2
1
3
5
5
1
18-1F
15
2
1
16-17
A3
A4
Divide A by B
84
DA A
Decimal adjust A
D4
LOGICAL
ANL A, Rn
AND register to A
1
2
1
2
1
2
1
2
58-5F
55
ANL A, direct
ANL A, @Ri
ANL A, #data
ANL direct, A
ANL direct, #data
ORL A, Rn
AND direct byte to A
AND data memory to A
AND immediate to A
AND A to direct byte
AND immediate data to direct byte
OR register to A
56-57
54
52
3
1
2
1
2
3
1
2
1
2
53
48-4F
45
ORL A, direct
ORL A, @Ri
ORL A, #data
ORL direct, A
ORL direct, #data
XORL A, Rn
OR direct byte to A
OR data memory to A
OR immediate to A
46-47
44
OR A to direct byte
42
OR immediate data to direct byte
Exclusive-OR register to A
3
1
3
1
43
68-6F
Revision 1.1 (01-14-03)
310
SMSC LPC47N350
DATASHEET