8XC251SA, SB, SP, SQ USER’S MANUAL
A-42
Variations
CJNE A,#data,rel
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 33 33
States: 25 25
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: (PC) ← (PC) + 3
IF (A) ≠ #data
THEN
(PC) ← (PC) + relative offset
IF (A) < #data
THEN
(CY) ← 1
ELSE
(CY) ← 0
CJNE A,dir8,rel
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 33 33
States: 36 36
Hex Code in: Binary Mode = [Encoding]
Source Mode = [Encoding]
Operation: (PC) ← (PC) + 3
IF (A) ≠ dir8
THEN
(PC) ← (PC) + relative offset
IF (A) < dir8
THEN
(CY) ← 1
ELSE
(CY) ← 0
CJNE @Ri,#data,rel
Binary Mode Source Mode
Not Taken Taken Not Taken Taken
Bytes: 33 44
States: 36 47
[Encoding] 1 0 1 1 0 1 0 0 immed. data rel. addr
[Encoding] 1 0 1 1 0 1 0 1 direct addr rel. addr