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 #32 background imageLoading...
Page #32 background image
The 8051 Instruction Set
1-31 Atmel 8051 Microcontrollers Hardware Manual
4316B–8051–02/04
CJNE A,#data,rel
Bytes: 3
Cycles: 2
Encoding: 10110100 immediate data rel. address
Operation: (PC) (PC) + 3
IF (A) < > data
THEN
(PC) (PC) + relative offset
IF (A) < data
THEN
(C) 1
ELSE
(C) 0
CJNE R
n
,#data,rel
Bytes: 3
Cycles: 2
Encoding: 1 0 1 1 1 r r r immediate data rel. address
Operation: (PC) (PC) + 3
IF (R
n
) < > data
THEN
(PC) (PC) + relative offset
IF (R
n
) < data
THEN
(C) 1
ELSE
(C) 0
CJNE @R
i
,data,rel
Bytes: 3
Cycles: 2
Encoding: 1011011 i immediate data rel. address
Operation: (PC) (PC) + 3
IF ((R
i
)) < > data
THEN
(PC) (PC) + relative offset
IF ((R
i
)) < data
THEN
(C) 1
ELSE
(C) 0

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