Instruction Set
C500 Family
Semiconductor Group
4-20
1998-04-01
CJNE
A,direct,rel
Operation:
(PC)
¬
(PC) + 3
if (A) < > (direct)
then (PC)
¬
(PC) + relative offset
if (A) < (direct)
then (C)
¬
1
else (C)
¬
0
Bytes:
3
Cycles:
2
CJNE
A, #data,rel
Operation:
(PC)
¬
(PC) + 3
if (A) < > data
then (PC)
¬
(PC) + relative offset
if (A)
¬
data
then (C)
¬
1
else (C)
¬
0
Bytes:
3
Cycles:
2
CJNE
RN, #data, rel
Operation:
(PC)
¬
(PC) + 3
if (Rn) < > data
then (PC)
¬
(PC) + relative offset
if (Rn) < data
then (C)
¬
1
else (C)
¬
0
Bytes:
3
Cycles:
2
Encoding:
1 0 1 1
0 1 0 1
direct address
rel. address
Encoding:
1 0 1 1
0 1 0 0
immediate data
rel. address
Encoding:
1 0 1 1
1 r r r
immediate data
rel. address