EasyManuals Logo
Home>Omron>Controller>CJ1M-CPU series

Omron CJ1M-CPU series Programming Manual

Omron CJ1M-CPU series
383 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 #121 background imageLoading...
Page #121 background image
100
Conversion Instructions Section 3-10
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
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
S: Source word
R: Result word
NEG(160)
S
R
Calculates the 2's complement of a word of hexadecimal data.
2's complement
(Complement + 1)
(R)(S)
S: 1st source
word
R: 1st result word
NEGL(161)
S
R
Calculates the 2's complement of two words of hexadecimal data.
2's complement
(Complement + 1)
(S+1, S)
(R+1, R)
S: Source word
R: 1st result word
SIGN(600)
S
R
Expands a 16-bit signed binary value to its 32-bit equivalent.
D+1 D
D = Contents of S
MSB = 0:
0000 Hex
MSB = 1:
FFFF Hex
S
MSB

Table of Contents

Other manuals for Omron CJ1M-CPU series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ1M-CPU series and is the answer not in the manual?

Omron CJ1M-CPU series Specifications

General IconGeneral
BrandOmron
ModelCJ1M-CPU series
CategoryController
LanguageEnglish

Related product manuals