EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

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
Page #514 background imageLoading...
Page #514 background image
Appendices
A-30
CJ2 CPU Unit Software User’s Manual
2'S COMPLE-
MENT
NEG
@NEG
160 Output Required
DOUBLE 2'S
COMPLEMENT
NEGL
@NEGL
161 Output Required
16-BIT TO 32-
BIT SIGNED
BINARY
SIGN
@SIGN
600 Output Required
DATA
DECODER
MLPX
@MLPX
076 Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
NEG(160)
S
R
S: Source word
R: Result word
2's complement
(Complement + 1)
(S)
(R)
Calculates the 2's complement of a word
of hexadecimal data.
NEGL(161)
S
R
S: 1st source word
R: 1st result word
2's complement
(Complement + 1)
(S+1, S)
(R+1, R)
Calculates the 2's complement of two words
of hexadecimal data.
SIGN(600)
S
R
S: Source word
R: 1st result word
D+1 D
MSB = 0:
0000 Hex
MSB = 1:
FFFF Hex
S
MSB
D = Contents of S
Expands a 16-bit signed binary value to its
32-bit equivalent.
MLPX(076)
S
C
R
S: Source word
C: Control word
R: 1st result word
R+1
R+14
R+15
R+16
R+17
R+30
R+31
R
R+1
C
C
Two 16-word ranges
are used when
l
specifies 2 bytes.
8-to-256 bit decoding
(Bit m of R to R+15 is turned ON.)
n=1 (Start with first byte.)
8-to-256 bit conversion
l
=1 (Convert 2 bytes.)
n=2 (Start with second digit.)
4-to-16 bit decoding
(Bit m of R is turned ON.)
l
=1 (Convert 2 digits.)
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).
4-to-16 bit conversion

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals