
The 8051 Instruction Set
Atmel 8051 Microcontrollers Hardware Manual 1-18
4316E–8051–01/07
JB bit,rel Jump if direct Bit is set 3 24
JNB bit,rel Jump if direct Bit is Not set 3 24
JBC bit,rel Jump if direct Bit is set & clear bit 3 24
PROGRAM BRANCHING
ACALL addr11 Absolute Subroutine Call 2 24
LCALL addr16 Long Subroutine Call 3 24
RET Return from Subroutine 1 24
RETI Return from interrupt 1 24
AJMP addr11 Absolute Jump 2 24
LJMP addr16 Long Jump 3 24
SJMP rel Short Jump (relative addr) 2 24
JMP @A+DPTR Jump indirect relative to the DPTR 1 24
JZ rel Jump if Accumulator is Zero 2 24
JNZ rel Jump if Accumulator is Not Zero 2 24
CJNE A,direct,rel Compare direct byte to Acc and Jump
if Not Equal
3 24
CJNE A,#data,rel Compare immediate to Acc and Jump
if Not Equal
3 24
CJNE R
n
,#data,rel Compare immediate to register and
Jump if Not Equal
3 24
CJNE @R
i
,#data,rel Compare immediate to indirect and
Jump if Not Equal
3 24
DJNZ R
n
,rel Decrement register and Jump if Not
Zero
2 24
DJNZ direct,rel Decrement direct byte and Jump if
Not Zero
3 24
NOP No Operation 1 12
Mnemonic Description Byte Oscillator
Period
Kommentare zu diesen Handbüchern