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


 
1 Summary of Instructions
1-8
CP1E CPU Unit Instructions Reference Manual(W483)
Conversion
Instructions
BCD TO BINARY BIN/
@BIN
023 Converts BCD data to binary data. 2-185
DOUBLE BCD TO
DOUBLE BINARY
BINL/
@BINL
058 Converts 8-digit BCD data to 8-digit hexadecimal (32-bit binary) data. 2-185
BINARY TO BCD BCD/
@BCD
024 Converts a word of binary data to a word of BCD data. 2-187
DOUBLE BINARY
TO DOUBLE BCD
BCDL/
@BCDL
059 Converts 8-digit hexadecimal (32-bit binary) data to 8-digit BCD data. 2-187
2’S COMPLEMENT NEG/
@NEG
160 Calculates the 2' complement of a word of hexadecimal data. 2-189
DATA DECODER MLPX/
@MLPX
076 Reads the numerical value in the specified digit (or byte) in the source word,
turns ON the corresponding bit in the result word (or 16-word range), and turns
OFF all other bits in the result word (or 16-word range).
2-191
DATA ENCODER DMPX/
@DMPX
077 FInds the location of the first or last ON bit within the source word (or 16-word
range), and writes that value to the specified digit (or byte) in the result word.
2-196
ASCII CONVERT ASC/
@ASC
086 Converts 4-bit hexadecimal digits in the source word into their 8-bit ASCII
equivalents.
2-201
ASCII TO HEX HEX/
@HEX
162 Converts up to 4 bytes of ASCII data in the source word to their hexadecimal
equivalents and writes these digits in the specified destination word.
2-205
Logic Instruc-
tions
LOGICAL AND ANDW/
@ANDW
034 Takes the logical AND of corresponding bits in single words of word data and/or
constants.
2-210
DOUBLE LOGICAL
AND
ANDL/
@ANDL
610 Takes the logical AND of corresponding bits in double words of word data
and/or constants.
2-210
LOGICAL OR ORW/
@ORW
035 Takes the logical OR of corresponding bits in single words of word data and/or
constants.
2-212
DOUBLE LOGICAL
OR
ORWL/
@ORWL
611 Takes the logical OR of corresponding bits in double words of word data and/or
constants.
2-212
EXCLUSIVE OR XORW/
@XORW
036 Takes the logical exclusive OR of corresponding bits in single words of word
data and/or constants.
2-214
DOUBLE EXCLU-
SIVE OR
XORL/
@XORL
612 Takes the logical exclusive OR of corresponding bits in double words of word
data and/or constants.
2-214
COMPLEMENT COM/
@COM
029 Turns OFF all ON bits and turns ON all OFF bits in Wd. 2-216
DOUBLE
COMPLEMENT
COML/
@COML
614 Turns OFF all ON bits and turns ON all OFF bits in Wd and Wd+1. 2-216
Special Math
Instructions
ARITHMETIC PRO-
CESS
APR/
@APR
069 Calculates the sine, cosine, or a linear extrapolation of the source data. 2-218
BIT COUNTER BCNT/
@BCNT
067 Counts the total number of ON bits in the specified word(s). 2-227
Instrucion
Type
Instruction Mnemonic
FUN
No.
Function Page