EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 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
Loading...
65
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-10 Conversion Instructions
2’S COMPLE-
MENT
NEG
@NEG
160
Output
Required
387
DOUBLE 2’S
COMPLEMENT
NEGL
@NEGL
161
Output
Required
387
16-BIT TO 32-BIT
SIGNED BINARY
SIGN
@SIGN
600
Output
Required
389
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
NEG(160)
S
R
S: Source word
R: Result word
(S) (R)
Calculates the 2's complement of a word of hexadecimal data.
2's complement
(Complement + 1)
NEGL(161)
S
R
S: 1st source
word
R: 1st result word
(
S+1, S
) (
R+1, R
)
Calculates the 2's complement of two words of hexadecimal data.
2's complement
(Complement + 1)
SIGN(600)
S
R
S: Source word
R: 1st result word
D+1 D
S
MSB
MSB=1:
FFFF Hex
MSB=0:
0000 Hex
D = Contents of S
Expands a 16-bit signed binary value to its 32-bit equivalent.

Table of Contents

Related product manuals