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 #19 background imageLoading...
Page #19 background image
The 8051 Instruction Set
Atmel 8051 Microcontrollers Hardware Manual 1-18
4316B–8051–02/04
MOV direct,#data Move immediate data to direct byte 3 24
MOV @R
i
,A Move Accumulator to indirect RAM 1 12
MOV @R
i
,direct Move direct byte to indirect RAM 2 24
MOV @R
i
,#data Move immediate data to indirect RAM 2 12
MOV DPTR,#data16 Load Data Pointer with a 16-bit
constant
324
MOVC A,@A+DPTR Move Code byte relative to DPTR to
Acc
124
MOVC A,@A+PC Move Code byte relative to PC to Acc 1 24
MOVX A,@R
i
Move External RAM (8-bit addr) to
Acc
124
DATA TRANSFER (continued)
MOVX A,@DPTR Move Exernal RAM (16-bit addr) to
Acc
124
MOVX @R
i
,A Move Acc to External RAM (8-bit
addr)
124
MOVX @DPTR,A Move Acc to External RAM (16-bit
addr)
124
PUSH direct Push direct byte onto stack 2 24
POP direct Pop direct byte from stack 2 24
XCH A,R
n
Exchange register with Accumulator 1 12
XCH A,direct Exchange direct byte with
Accumulator
212
XCH A,@R
i
Exchange indirect RAM with
Accumulator
112
XCHD A,@R
i
Exchange low-order Digit indirect
RAM with Acc
112
BOOLEAN VARIABLE MANIPULATION
CLR C Clear Carry 1 12
CLR bit Clear direct bit 2 12
SETB C Set Carry 1 12
SETB bit Set direct bit 2 12
CPL C Complement Carry 1 12
CPL bit Complement direct bit 2 12
ANL C,bit AND direct bit to CARRY 2 24
ANL C,/bit AND complement of direct bit to Carry 2 24
ORL C,bit OR direct bit to Carry 2 24
ORL C,/bit OR complement of direct bit to Carry 2 24
MOV C,bit Move direct bit to Carry 2 12
MOV bit,C Move Carry to direct bit 2 24
JC rel Jump if Carry is set 2 24
JNC rel Jump if Carry not set 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