Omron CJ2 - 02-2010 User Manual page 493

Cj2 cpu unit software
Table of Contents

Advertisement

Instruction
Mnemonic
DOUBLE
ZCPL
116
AREA RANGE
COMPARE
SIGNED
ZCPS
117
AREA RANGE
COMPARE
DOUBLE
ZCPSL
118
SIGNED
AREA RANGE
COMPARE
CJ2 CPU Unit Software User's Manual
Code
Symbol/Operand
ZCPL(116)
CD
LL
UL
CD: Compare
data (2 words)
LL: First word of
lower limit
UL: First 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: First word of
lower limit
UL: First word of
upper limit
Function
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.
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.
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.
Appendices
Execution
Location
condition
Output
Required
Output
Required
Output
Required
A-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents