EasyManua.ls Logo

Omron CJ2 CPU UNIT SOFTWARE - Page 501

Omron CJ2 CPU UNIT SOFTWARE
670 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...
A-17
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-5 Comparison Instructions
DOUBLE
AREA RANGE
COMPARE
ZCPL 116 Compares the 32-bit unsigned binary value in CD and CD+1
(word contents or constant) to the range defined by LL and
UL and outputs the results to the Arithmetic Flags in the Aux-
iliary Area.
Output Required
SIGNED
AREA RANGE
COMPARE
ZCPS 117 Compares the 16-bit signed binary value in CD (word con-
tents or constant) to the range defined by LL and UL and out-
puts the results to the Arithmetic Flags in the Auxiliary Area.
Output Required
DOUBLE
SIGNED
AREA RANGE
COMPARE
ZCPSL 118 Compares the 32-bit signed binary value in CD and CD+1
(word contents or constant) to the range defined by LL and
UL and outputs the results to the Arithmetic Flags in the Aux-
iliary Area.
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
ZCPL(116)
CD
LL
UL
CD: Compare
data (2 words)
LL: 1st word of
lower limit
UL: 1st word of
upper limit
ZCPS(117)
CD
LL
UL
CD: Compare
data (1 word)
LL: Lower limit of
range
UL: Upper limit of
range
ZCPSL(118)
CD
LL
UL
CD: Compare
data (2 words)
LL: 1st word of
lower limit
UL: 1st word of
upper limit

Table of Contents

Related product manuals