EasyManuals Logo

Atmel 8051 User Manual

Atmel 8051
113 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
The 8051 Instruction Set
Atmel 8051 Microcontrollers Hardware Manual 1-22
4316B–8051–02/04
x8
INC R0
1-1
DEC R0
1-1
ADD A,R0
1-1,C,OV,AC
ADDC A,R0
1-1,C,OV,AC
ORL A,R0
1-1
ANL A,R0
1-1
XRL A,R0
1-1
MOV R0,#imm
2-1
MOV dir,R0
2-2
SUBB A,R0
1-1,C,OV,AC
MOV R0,dir
2-2
CJNE R0,#imm,rel
3-2,C
XCH A,R0
1-1
DJNZ R0,rel
2-2
MOV A,R0
1-1
MOVX R0,A
1-1
Ox
1x
2x
3x
4x
5x
6x
7x
8x
9x
Ax
Bx
Cx
Dx
Ex
Fx
x7
INC @R1
1-1
DEC @R1
1-1
ADD A,@R1
1-1,C,OV,AC
ADDC A,@R1
1-1,C,OV,AC
ORL A,@R1
1-1
ANL A,@R1
1-1
XRL A,@R1
1-1
MOV @R1,#imm
2-1
MOV dir,@R1
2-2
SUBB A,@R1
1-1,C,OV,AC
MOV @R1,dir
2-2
CJNE @R1,#imm,rel
3-2,C
XCH A,@R1
1-1
XCHD A,@R1
1-1
MOV A,@R1
1-1
MOVX @R1,A
1-1
x6
INC @R0
1-1
DEC @R0
1-1
ADD A,@R0
1-1,C,OV,AC
ADDC A,@R0
1-1,C,OV,AC
ORL, A,@R0
1-1
ANL A,@R0
1-1
XRL A,@R0
1-1
MOV @R0,#imm
2-1
MOV dir,@R0
2-2
SUBB A,@R0
1-1,C,OV,AC
MOV @R0,dir
2-2
CJNE @R0,#imm,rel
3-2,C
XCH A,@R0
1-1
XCHD A,@R0
1-1
MOV A,@R0
1-1
MOVX @R0,A
1-1
x5
INC dir
2-1
DEC dir
2-1
ADD A,dir
2-1,C,OV,AC
ADDC A,dir
2-1,C,OV,AC
ORL A,dir
2-1
ANL A,dir
2-1
XRL A,dir
2-1
MOV dir,#imm
3-2
MOV dir,dir
3-2
SUBB A,dir
2-1,C,OV,AC
CJNE A,dir,rel
3-2,C
XCH A,dir
2-1
DJNZ dir,rel
3-2
MOV A,dir
2-1
MOV dir,A
2-1
x4
INC A
1-1
DEC A
1-1
ADD A,#imm
2-1,C,OV,AC
ADDC A,#imm
2-1,C,OV,AC
ORL A,#imm
2-1
ANL A,#imm
2-1
XRL A,#imm
2-1
MOV A,#imm
2-1
DIV AB
1-4,C=0,OV
SUBB A,#imm
2-1,C,OV,AC
MUL AB
1-4,C=0,OV
CJNE A,#imm,rel
3-2,C
SWAP A
1-1
DA A
1-1,C
CLR A
1-1
CPL A
1-1
x3
RR A
1-1
RRC A
1-1.C
RL A
1-1
RLC A
1-1,C
ORL dir,#imm
3-2
ANL dir,#imm
3-2
XRL dir,#imm
3-2
JMP @A+DPTR
1-2
MOVC A,@A+PC
1-2
MOVC A,@A+DPTR
1-2
INC DPTR
1-2
CPL C
1-1,C
CLR C
1-1,C=0
SETB C
1-1,c=1
MOVX A,@R1
1-2
MOVX @R1,A
1-2
x2
LJMP code
3-2
LCALL code
3-2
RET
1-2
RETI
1-2
ORL dir,A
2-1
ANL dir,A
2-1
XRL dir,A
2-1
ORL C,bit
2-2,C
ANL C,bit
2-2,C
MOV bit,C
2-2
MOV C,bit
2-1,C
CPL bit
2-1
CLR bit
2-1
SETB bit
2-1
MOVX A,@R0
1-2
MOVX @R0,A
1-2
Table 1-14. 8051 Instruction Table (Continued)

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel 8051 and is the answer not in the manual?

Atmel 8051 Specifications

General IconGeneral
BrandAtmel
Model8051
CategoryMicrocontrollers
LanguageEnglish

Related product manuals