Omron CP1E-N@@D@-@ Computer Hardware User Manual


 
1-5
1 Summary of Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
1-1 Summary of Instructions
1
Comparison
Instructions
Symbol Comparison = , <> , < , <= ,
> , >=
300
328
Symbol comparison instructions compare two values and create an ON execu-
tion condition when the comparison condition is true.
2-88
Time Comparison LD, AND,
OR+=DT
341 Time comparison instructions compare two BCD time values and create an ON
execution condition when the comparison condition is true.
2-91
LD, AND,
OR+<>DT
342
LD, AND,
OR+<DT
343
LD, AND,
OR+<=DT
344
LD, AND,
OR+>DT
345
LD, AND,
OR+>=DT
346
UNSIGNED
COMPARE
CMP 020 Compares two unsigned binary values (constants and/or the contents of speci-
fied words) and outputs the result to the Arithmetic Flags in the Auxiliary Area.
2-95
!CMP
DOUBLE
UNSIGNED
COMPARE
CMPL 060 Compares two double unsigned binary values (constants and/or the contents of
specified words) and outputs the result to the Arithmetic Flags in the Auxiliary
Area.
2-95
SIGNED BINARY
COMPARE
CPS 114 Compares two signed binary values (constants and/or the contents of specified
words) and outputs the result to the Arithmetic Flags in the Auxiliary Area.
2-98
!CPS
DOUBLE SIGNED
BINARY COMPARE
CPSL 115 Compares two double signed binary values (constants and/or the contents of
specified words) and outputs the result to the Arithmetic Flags in the Auxiliary
Area.
2-98
TABLE COMPARE TCMP 085 Compares the source data to the contents of 16 words and turns ON the corre-
sponding bit in the result word when the contents are equal.
2-101
@TCMP
UNSIGNED BLOCK
COMPARE
BCMP 068 Compares the source data to 16 ranges (defined by 16 lower limits and 16
upper limits) and turns ON the corresponding bit in the result word when the
source data is within the range.
2-103
@BCMP
AREA RANGE
COMPARE
ZCP 088 Compares the 16-bit unsigned binary value in CD (word contents or constant)
to the range defined by LL and UL and outputs the results to the Arithmetic
Flags in the Auxiliary Area.
2-105
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 Auxiliary Area.
2-105
Data Move-
ment Instruc-
tions
MOVE MOV 021 Transfers a word of data to the specified word. 2-108
@MOV
!MOV
!@MOV
DOUBLE MOVE MOVL/
@MOVL
498 Transfers two words of data to the specified words. 2-108
MOVE NOT MVN/
@MVN
022 Transfers the complement of a word of data to the specified word. 2-108
MOVE BIT MOVB/
@MOVB
082 Transfers the specified bit. 2-111
MOVE DIGIT MOVD/
@MOVD
083 Transfers the specified digit or digits. (Each digit is made up of 4 bits.) 2-113
MULTIPLE BIT
TRANSFER
XFRB/
@XFRB
062
Transfers the specified number of consecutive bits. 2-115
BLOCK TRANSFER XFER/
@XFER
070 Transfers the specified number of consecutive words. 2-117
BLOCK SET BSET/
@BSET
071 Copies the same word to a range of consecutive words. 2-119
DATA EXCHANGE XCHG/
@XCHG
073 Exchanges the contents of the two specified words. 2-121
SINGLE WORD
DISTRIBUTE
DIST/
@DIST
080 Transfers the source word to a destination word calculated by adding an offset
value to the base address.
2-123
DATA COLLECT COLL/
@COLL
081 Transfers the source word (calculated by adding an offset value to the base
address) to the destination word.
2-125
Instrucion
Type
Instruction Mnemonic
FUN
No.
Function Page