8051 Architectural Specification and Functional Description
Arithmetic
Oscillator
ContrOl
Trans'er (Branch)
Oscillator
Mnemonic
Description Bytes Periods
Mnemonic
Description Byt
..
Periods
ADD A.Rn
Add register to A
I
12
AJMP
addrll
Absolute
Jump
2
24
"ADD
A.data
Add direct byte to A
2
12
"LJMP
addrl6
Long Jump 3
24
ADDA.@Ri
Add indirect RAM to A I
12
"SJMP
rei
Short
Jump
2
24
ADDA./Idata
Add immediate data to A
2
12
"JMP
@A+DPTR Jump indirect relative to
24
ADDC A.Rn
Add register and carry
flag to A I
12
the DPTR
*ADDC A.data
Add direct byte
aild carry flag
2
12
JZ
rei
Jump
if A
is
zero
2
24
toA
JNZ
rei
Jump
if A
is
not zero 2
24
ADDC A.@Ri Add indirect RAM and carry
12
JC
rei
Jump
if carry
is
set
2
24
flag to A
JNC
rei
Jump if carry
is
not set
2
24
ADDC A./Idata Add immediate data and carry 2
12
"JD bit.
rei
Jump relative if direct bit
3
24
flag to A
is
set
"SUBD A.Rn
Subtract register and carry
flag
12
"JNB bit. rei
Jump relative if direct bit
3
24
from A
is
not set
"SUBD A.data
Subtract direct byte and carry
2
12
" J
DC
bit.rel
Jump relative if direct bit
3
24
flag from A
is
ser. then clear bit
"SUBD A.@Ri
Subtract indirect
RA
M and
12
"CJNE
A.data.rel
Compare direct byte to A
3
24
carry flag from A
& Jump if not Eq.
"SUBD A./Idata
Subtract immediate data aild
2
12
See Note a.
carry
flag from A
'CJNE
A.lldata.rel Compare immed. to A &
Jump
3
24
INCA
Increment A
12
if not Eq. See Note a.
INC Rn Increment register
12
'CJNE
Rn.lldata.
Compare immed. to reg & 3
24
"INC data Increment direct byte 2
12
rei
Jump if not Eq. See Note a.
INC@Ri
Increment indirect RAM
12
'CNJE
@Ri.
Compare immed. to indirect
3
24
DECA
Decrement A I
12
IIdata.rel
RAM &
Jump
if not Eq.
DEC
Rn
Decrement register
I
12
See Note a.
"DEC
data Decrement direct byte
2
12
DJNZ
Rn.rel
Decrement register
& Jump 3
24
"DEC@Ri
Decrement indirect RAM
12
if not zero
"INC
DPTR
Increment Data Pointer
24
'DJNZ
data. rei
Decrement direct byte & 3
24
'MUL
AB
Multiply A times D
48
Jump if not zero
'DIV
AD
Divide A
by
D
48
Note a) Set C if the first operand
is
less
than the second operand;
DAA
Decimal add Adjust of A
12
else clear
Control Trans'er (Subroutine)
Oscillator
Mnemonic
Description
Bytes Periods
Other
ACALL
addrll
Absolute Subroutine Call
2 24
Oscillator
LCALL
addrl6
Long Subroutine Call
3
24
Mnemonic
D
..
crlptlon
Byt
..
Periods
RET
Return from Subroutine Call
24
NOP No Operation I
12
RETI
Return from Interrupt Call
24
All mnemonics copyrighted@ Intel Corporation 1980.
AFN-01488A-42
38