Philips Semiconductors
Product specification
P83C557E4/P80C557E4/P89C557E4
Single-chip 8-bit microcontroller
1999 Mar 02
48
Table 43.
80C51 Instruction Set Summary
MNEMONIC
DESCRIPTION
BYTE / CYCLES
OPCODE
(HEX.)
ARITHMETIC OPERATIONS
ADD
A,Rn
Add register to Accumulator
1
2*
ADD
A,direct
Add direct byte to Accumulator
2
1
25
ADD
A,@Ri
Add indirect RAM to Accumulator
1
26, 27
ADD
A,#data
Add immediate data to Accumulator
2
1
24
ADDC
A,Rn
Add register to Accumulator with carry
1
3*
ADDC
A,direct
Add direct byte to Accumulator with carry
2
1
35
ADDC
A,@Ri
Add indirect RAM to Accumulator with carry
1
36, 37
ADDC
A,#data
Add immediate data to ACC with carry
2
1
34
SUBB
A,Rn
Subtract Register from ACC with borrow
1
9*
SUBB
A,direct
Subtract direct byte from ACC with borrow
2
1
95
SUBB
A,@Ri
Subtract indirect RAM from ACC with borrow
1
96, 97
SUBB
A,#data
Subtract immediate data from ACC with borrow
2
1
94
INC
A
Increment Accumulator
1
04
INC
Rn
Increment register
1
0*
INC
direct
Increment direct byte
2
1
05
INC
@Ri
Increment indirect RAM
1
06, 07
DEC
A
Decrement Accumulator
1
14
DEC
Rn
Decrement Register
1
1*
DEC
direct
Decrement direct byte
2
1
15
DEC
@Ri
Decrement indirect RAM
1
16, 17
INC
DPTR
Increment Data Pointer
1
2
A3
MUL
AB
Multiply A and B
1
4
A4
DIV
AB
Divide A by B
1
4
84
DA
A
Decimal Adjust Accumulator
1
D4
LOGICAL OPERATIONS
ANL
A,Rn
AND Register to Accumulator
1
5*
ANL
A,direct
AND direct byte to Accumulator
2
1
55
ANL
A,@Ri
AND indirect RAM to Accumulator
1
56, 57
ANL
A,#data
AND immediate data to Accumulator
2
1
54
ANL
direct,A
AND Accumulator to direct byte
2
1
52
ANL
direct,#data
AND immediate data to direct byte
3
2
53
ORL
A,Rn
OR register to Accumulator
1
4*
ORL
A,direct
OR direct byte to Accumulator
2
1
45
ORL
A,@Ri
OR indirect RAM to Accumulator
1
46, 47
ORL
A,#data
OR immediate data to Accumulator
2
1
44
ORL
direct,A
OR Accumulator to direct byte
2
1
42
ORL
direct,#data
OR immediate data to direct byte
3
2
43
XRL
A,Rn
Exclusive-OR register to Accumulator
1
6*
XRL
A,direct
Exclusive-OR direct byte to Accumulator
2
1
65
XRL
A,@Ri
Exclusive-OR indirect RAM to Accumulator
1
66, 67