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 #18 background imageLoading...
Page #18 background image
The 8051 Instruction Set
1-17 Atmel 8051 Microcontrollers Hardware Manual
4316B–8051–02/04
ANL A,#data AND immediate data to Accumulator 2 12
ANL direct,A AND Accumulator to direct byte 2 12
ANL direct,#data AND immediate data to direct byte 3 24
ORL A,R
n
OR register to Accumulator 1 12
ORL A,direct OR direct byte to Accumulator 2 12
ORL A,@R
i
OR indirect RAM to Accumulator 1 12
ORL A,#data OR immediate data to Accumulator 2 12
ORL direct,A OR Accumulator to direct byte 2 12
ORL direct,#data OR immediate data to direct byte 3 24
XRL A,R
n
Exclusive-OR register to Accumulator 1 12
XRL A,direct Exclusive-OR direct byte to
Accumulator
212
XRL A,@R
i
Exclusive-OR indirect RAM to
Accumulator
112
XRL A,#data Exclusive-OR immediate data to
Accumulator
212
XRL direct,A Exclusive-OR Accumulator to direct
byte
212
XRL direct,#data Exclusive-OR immediate data to
direct byte
324
CLR A Clear Accumulator 1 12
CPL A Complement Accumulator 1 12
RL A Rotate Accumulator Left 1 12
RLC A Rotate Accumulator Left through the
Carry
112
LOGICAL OPERATIONS (continued)
RR A Rotate Accumulator Right 1 12
RRC A Rotate Accumulator Right through the
Carry
112
SWAP A Swap nibbles within the Accumulator 1 12
DATA TRANSFER
MOV A,R
n
Move register to Accumulator 1 12
MOV A,direct Move direct byte to Accumulator 2 12
MOV A,@R
i
Move indirect RAM to Accumulator 1 12
MOV A,#data Move immediate data to Accumulator 2 12
MOV R
n
,A Move Accumulator to register 1 12
MOV R
n
,direct Move direct byte to register 2 24
MOV R
n
,#data Move immediate data to register 2 12
MOV direct,A Move Accumulator to direct byte 2 12
MOV direct,R
n
Move register to direct byte 2 24
MOV direct,direct Move direct byte to direct 3 24
MOV direct,@R
i
Move indirect RAM to direct byte 2 24
Mnemonic Description Byte Oscillator
Period

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