Texas Instruments MSC1210 User Manual
Page 284
8052 Instruction-Set Quick-Reference Guide
D-2
D.1 8052 Instruction-Set Quick-Reference Guide
00
NOP
40
JC relAddr
80
SJMP relAddr
C0
PUSH direct
01
AJMP pg0Addr
41
AJMP pg2Addr
81
AJMP pg4Addr
C1
AJMP pg6Addr
02
LJMP addr16
42
ORL direct,A
82
ANL C,bitAddr
C2
CLR bitAddr
03
RR A
43
ORL direct,#data8
83
MOVC A,@A+PC
C3
CLR C
04
INC A
44
ORL A,#data8
84
DIV AB
C4
SWAP A
05
INC direct
45
ORL A,direct
85
MOV direct,direct
C5
XCH A,direct
06
INC @R0
46
ORL A,@R0
86
MOV direct,@R0
C6
XCH A,@R0
07
INC @R1
47
ORL A,@R1
87
MOV direct,@R1
C7
XCH A,@R1
08
INC R0
48
ORL A,R0
88
MOV direct,R0
C8
XCH A,R0
09
INC R1
49
ORL A,R1
89
MOV direct,R1
C9
XCH A,R1
0A
INC R2
4A
ORL A,R2
8A
MOV direct,R2
CA
XCH A,R2
0B
INC R3
4B
ORL A,R3
8B
MOV direct,R3
CB
XCH A,R3
0C
INC R4
4C
ORL A,R4
8C
MOV direct,R4
CC
XCH A,R4
0D
INC R5
4D
ORL A,R5
8D
MOV direct,R5
CD
XCH A,R5
0E
INC R6
4E
ORL A,R6
8E
MOV direct,R6
CE
XCH A,R6
0F
INC R7
4F
ORL A,R7
8F
MOV direct,R7
CF
XCH A,R7
10
JBC bitAddr,relAddr
50
JNC relAddr
90
MOV DPTR,#data16
D0
POP direct
11
ACALL pg0Addr
51
ACALL pg2Addr
91
ACALL pg4Addr
D1
ACALL pg5Addr
12
LCALL address16
52
ANL direct,A
92
MOV bitAddr,C
D2
SETB bitAddr
13
RRC A
53
ORL direct,#data8
93
MOVC A,@DPTR
D3
SETB C
14
DEC A
54
ANL A,#data8
94
SUBB A,#data8
D4
DA A
15
DEC direct
55
ANL A,direct
95
SUBB A,direct
D5
DJNZ direct,relAddr
16
DEC @R0
56
ANL A,@R0
96
SUBB A,@R0
D6
XCHD A,@R0
17
DEC @R1
57
ANL A,@R1
97
SUBB A,@R1
D7
XCHD A,@R1
18
DEC R0
58
ANL A,R0
98
SUBB A,R0
D8
XCHD A,R0
19
DEC R1
59
ANL A,R1
99
SUBB A,R1
D9
XCHD A,R1
1A
DEC R2
5A
ANL A,R2
9A
SUBB A,R2
DA
XCHD A,R2
1B
DEC R3
5B
ANL A,R3
9B
SUBB A,R3
DB
XCHD A,R3
1C
DEC R4
5C
ANL A,R4
9C
SUBB A,R4
DC
XCHD A,R4
1D
DEC R5
5D
ANL A,R5
9D
SUBB A,R5
DD
XCHD A,R5
1E
DEC R6
5E
ANL A,R6
9E
SUBB A,R6
DE
XCHD A,R6
1F
DEC R7
5F
ANL A,R7
9F
SUBB A,R7
DF
XCHD A,R7
20
JB bitAddr,relAddr
60
JZ relAddr
A0
ORL C,/bitAddr
E0
MOVX A,@DPTR
21
AJMP pg1Addr
61
AJMP pg3Addr
A1
AJMP pg5Addr
E1
AJMP pg7Addr
22
RET
62
XRL direct,A
A2
MOV C,bitAddr
E2
MOVX A,@R0
23
RL A
63
XRL direct,#data8
A3
INC DPTR
E3
MOVX A,@R1
24
ADD A,#data8
64
XRL A,#data8
A4
MUL AB
E4
CLR A
25
ADD A,direct
65
XRL A,direct
A5
E5
MOV A,direct
26
ADD A,@R0
66
XRL A,@R0
A6
MOV @R0,direct
E6
MOV A,@R0
27
ADD A,@R1
67
XRL A,@R1
A7
MOV @R1,direct
E7
MOV A,@R1
28
ADD A,R0
68
XRL A,R0
A8
MOV R0,direct
E8
MOV A,R0
29
ADD A,R1
69
XRL A,R1
A9
MOV R1,direct
E9
MOV A,R1
2A
ADD A,R2
6A
XRL A,R2
AA
MOV R2,direct
EA
MOV A,R2
2B
ADD A,R3
6B
XRL A,R3
AB
MOV R3,direct
EB
MOV A,R3
2C
ADD A,R4
6C
XRL A,R4
AC
MOV R4,direct
EC
MOV A,R4
2D
ADD A,R5
6D
XRL A,R5
AD
MOV R5,direct
ED
MOV A,R5
2E
ADD A,R6
6E
XRL A,R6
AE
MOV R6,direct
EE
MOV A,R6
2F
ADD A,R7
6F
XRL A,R7
AF
MOV R7,direct
EF
MOV A,R7
30
JNB bitAddr,relAddr
70
JNZ relAddr
B0
ANL C,/bitAddr
F0
MOVX @DPTR,A
31
ACALL pg1Addr
71
ACALL pg3Addr
B1
ACALL pg5Addr
F1
ACALL pg7Addr
32
RETI
72
ORL C,bitAddr
B2
CPL bitAddr
F2
MOVX @R0,A
33
RLC A
73
JMP @A+DPTR
B3
CPL C
F3
MOVX @R1,A
34
ADDC A,#data
74
MOV A,#data8
B4
CJNE A,#data8,relAddr
F4
CPL A
35
ADDC A,direct
75
MOV direct,#data8
B5
CJNE A,direct,relAddr
F5
MOV direct,A
36
ADDC A,@R0
76
MOV @R0,#data8
B6
CJNE @R0,#data8,relAddr
F6
MOV @R0,A
37
ADDC A,@R1
77
MOV @R1,#data8
B7
CJNE @R1,#data8,relAddr
F7
MOV @R1,A
38
ADDC A,R0
78
MOV R0,#data8
B8
CJNE R0,#data8,relAddr
F8
MOV R0,A
39
ADDC A,R1
79
MOV R1,#data8
B9
CJNE R1,#data8,relAddr
F9
MOV R1,A
3A
ADDC A,R2
7A
MOV R2,#data8
BA
CJNE R2,#data8,relAddr
FA
MOV R2,A
3B
ADDC A,R3
7B
MOV R3,#data8
BB
CJNE R3,#data8,relAddr
FB
MOV R3,A
3C
ADDC A,R4
7C
MOV R4,#data8
BC
CJNE R4,#data8,relAddr
FC
MOV R4,A
3D
ADDC A,R5
7D
MOV R5,#data8
BD
CJNE R5,#data8,relAddr
FD
MOV R5,A