MS51
Dec. 17, 2019
Page
312
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
8.2
Instruction Set
Instruction
OPCODE
Bytes
Clock Cycles
MS51 V.S. Tradition 80C51
Speed Ratio
NOP
00
1
1
12
ADD
A, Rn
28~2F
1
2
6
ADD
A, direct
25
2
3
4
ADD
A, @Ri
26, 27
1
4
3
ADD
A, #data
24
2
2
6
ADDC A, Rn
38~3F
1
2
6
ADDC A, direct
35
2
3
4
ADDC A, @Ri
36, 37
1
4
3
ADDC A, #data
34
2
2
6
SUBB A, Rn
98~9F
1
2
6
SUBB A, direct
95
2
3
4
SUBB A, @Ri
96, 97
1
4
3
SUBB A, #data
94
2
2
6
INC
A
04
1
1
12
INC
Rn
08~0F
1
3
4
INC
direct
05
2
4
3
INC
@Ri
06, 07
1
5
2.4
INC
DPTR
A3
1
1
24
DEC
A
14
1
1
12
DEC
Rn
18~1F
1
3
4
DEC
direct
15
2
4
3
DEC
@Ri
16, 17
1
5
2.4
MUL
AB
A4
1
4
12
DIV
AB
84
1
4
12
DA
A
D4
1
1
12
ANL
A, Rn
58~5F
1
2
6
ANL
A, direct
55
2
3
4
ANL
A, @Ri
56, 57
1
4
3
ANL
A, #data
54
2
2
6
ANL
direct, A
52
2
4
3
ANL
direct, #data
53
3
4
6
ORL
A, Rn
48~4F
1
2
6
ORL
A, direct
45
2
3
4
ORL
A, @Ri
46, 47
1
4
3
ORL
A, #data
44
2
2
6
ORL
direct, A
42
2
4
3
ORL
direct, #data
43
3
4
6
XRL
A, Rn
68~6F
1
2
6
XRL
A, direct
65
2
3
4
XRL
A, @Ri
66, 67
1
4
3
XRL
A, #data
64
2
2
6
XRL
direct, A
62
2
4
3
XRL
direct, #data
63
3
4
6
CLR
A
E4
1
1
12
CPL
A
F4
1
1
12
RL
A
23
1
1
12