Siemens C500 User Manual page 46

Microcontroller family
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents