EasyManua.ls Logo

Atmel 8051 - Page 20

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
Loading...
The 8051 Instruction Set
1-19 Atmel 8051 Microcontrollers Hardware Manual
4316B–8051–02/04
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
324
CJNE A,#data,rel Compare immediate to Acc and Jump
if Not Equal
324
CJNE R
n
,#data,rel Compare immediate to register and
Jump if Not Equal
324
CJNE @R
i
,#data,rel Compare immediate to indirect and
Jump if Not Equal
324
DJNZ R
n
,rel Decrement register and Jump if Not
Zero
224
DJNZ direct,rel Decrement direct byte and Jump if
Not Zero
324
NOP No Operation 1 12
Mnemonic Description Byte Oscillator
Period

Related product manuals