8XC251SA, SB, SP, SQ USER’S MANUAL
A-4
A.2
OPCODE MAP AND SUPPORTING TABLES
Table A-6. Instructions for MCS
®
51 Microcontrollers
Bin.
0
1
2
3
4
5
6-7
8-F
Src.
0
1
2
3
4
5
A5
x6–A5x7
A5
x8–A5xF
0
NOP
AJMP
addr11
LJMP
addr16
RR
A
INC
A
INC
dir8
INC
@Ri
INC
Rn
1
JBC
bit,rel
ACALL
addr11
LCALL
addr16
RRC
A
DEC
A
DEC
dir8
DEC
@Ri
DEC
Rn
2
JB
bit,rel
AJMP
addr11
RET
RLA
ADD
A,#data
ADD
A,dir8
ADD
A,@Ri
ADD
A,Rn
3
JNB
bit,rel
ACALL
addr11
RETI
RLCA
ADDC
A,#data
ADDC
A,dir8
ADDC
A,@Ri
ADDC
A,Rn
4
JC
rel
AJMP
addr11
ORL
dir8,A
ORL
dir8,#data
ORL
A,#data
ORL
A,dir8
ORL
A,@Ri
ORL
A,Rn
5
JNC
rel
ACALL
addr11
ANL
dir8,A
ANL
dir8,#data
ANL
A,#data
ANL
A,dir8
ANL
A,@Ri
ANL
A,Rn
6
JZ
rel
AJMP
addr11
XRL
dir8,A
XRL
dir8,#data
XRL
A,#data
XRL
A,dir8
XRL
A,@Ri
XRL
A,Rn
7
JNZ
rel
ACALL
addr11
ORL
CY,bit
JMP
@A+DPTR
MOV
A,#data
MOV
dir8,#data
MOV
@Ri,#data
MOV
Rn,#data
8
SJMP
rel
AJMP
addr11
ANL
CY,bit
MOVC
A,@A+PC
DIV
AB
MOV
dir8,dir8
MOV
dir8,@Ri
MOV
dir8,Rn
9
MOV
DPTR,#data16
ACALL
addr11
MOV
bit,CY
MOVC
A,@A+DPTR
SUBB
A,#data
SUBB
A,dir8
SUBB
A,@Ri
SUBB
A,Rn
A
ORL
CY,bit
AJMP
addr11
MOV
CY,bit
INC
DPTR
MUL
AB
ESC
MOV
@Ri,dir8
MOV
Rn,dir8
B
ANL
CY,bit
ACALL
addr11
CPL
bit
CPL
CY
CJNE
A,#data,rel
CJNE
A,dir8,rel
CJNE
@Ri,#data,rel
CJNE
Rn,#data,rel
C
PUSH
dir8
AJMP
addr11
CLR
bit
CLR
CY
SWAP
A
XCH
A,dir8
XCH
A,@Ri
XCH
A,Rn
D
POP
dir8
ACALL
addr11
SETB
bit
SETB
CY
DA
A
DJNZ
dir8,rel
XCHD
A,@Ri
DJNZ
Rn,rel
E
MOVX
A,@DPTR
AJMP
addr11
MOVX
A,@Ri
CLR
A
MOV
A,dir8
MOV
A,@Ri
MOV
A,Rn
F
MOV
@DPTR,A
ACALL
addr11
MOVX
@Ri,A
CPL
A
MOV
dir8,A
MOV
@Ri,A
MOV
Rn,A
Summary of Contents for 8XC251SA
Page 2: ......
Page 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Page 18: ......
Page 19: ...1 Guide to This Manual...
Page 20: ......
Page 30: ......
Page 31: ...2 Architectural Overview...
Page 32: ......
Page 41: ...3 Address Spaces...
Page 42: ......
Page 63: ...4 Device Configuration...
Page 64: ......
Page 81: ...5 Programming...
Page 82: ......
Page 102: ......
Page 103: ...6 Interrupt System...
Page 104: ......
Page 120: ......
Page 121: ...7 Input Output Ports...
Page 122: ......
Page 132: ......
Page 133: ...8 Timer Counters and Watchdog Timer...
Page 134: ......
Page 153: ...9 Programmable Counter Array...
Page 154: ......
Page 170: ......
Page 171: ...10 Serial I O Port...
Page 172: ......
Page 187: ...11 Minimum Hardware Setup...
Page 188: ......
Page 197: ...12 Special Operating Modes...
Page 198: ......
Page 206: ......
Page 207: ...13 External Memory Interface...
Page 208: ......
Page 239: ...14 Programming and Verifying Nonvolatile Memory...
Page 240: ......
Page 250: ......
Page 251: ...A Instruction Set Reference...
Page 252: ......
Page 390: ......
Page 391: ...B Signal Descriptions...
Page 392: ......
Page 400: ......
Page 401: ...C Registers...
Page 402: ......
Page 436: ......
Page 437: ...Glossary...
Page 438: ......
Page 446: ......
Page 447: ...Index...
Page 448: ......
Page 458: ......