int# MCS@-51PROGRAMMER’SGUIDE AND INSTRUCTION SET
Table 10.8051 Instruction Set SummarY (Continued)
Mnemonic Description Byte ‘~or
.. . . . ... -m . ..-,,,..- ,-- —.,.... .’,
FmWrIANI BmANGmNQ (wnunueq
JMP
@A+DPTR Jumpindirecf
relativetothe
DPTR
JZ rel Jumpif
Accumulator
isZero
JNZ
rel Jumpif
Accumulator
isNotZero
CJNE A,direct,rei Compare
directbyteto
AccandJump
ifNotEquai
CJNE A,#date,rel Compare
immediateto
AccandJumo
1
24
2
24
2
24
3
24
3
24
ifNotEqual
Mnemonic Description Syte ~~or
PROGRAMBRANCHING(Continued)
CJNE Rn,#date,rei Compare
immediateto
registerand
JumpifNot
Equal
CJNE @Ri,#data,rel Compare
immediateto
indirectand
JumpifNot
Equal
DJNZ Rn,rei
Decrement
registerand
JumpifNot
Zero
DJNZ direct,rel Decrement
directbyte
andJumpif
NotZero
3 24
3
24
2
24
3 24
NOP
NoOperation 1
12
dlmnemonicscopyrighted@intelCorporation1980
2-24