EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Symbol Math Instructions

Omron CJ - INSTRUCTIONS
1308 pages
Print Icon
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...
59
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-9 Symbol Math Instructions
2-2-9 Symbol Math Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
SIGNED BINARY
ADD WITHOUT
CARRY
+
@+
400
Output
Required
350
DOUBLE
SIGNED BINARY
ADD WITHOUT
CARRY
+L
@+L
401
Output
Required
350
SIGNED BINARY
ADD WITH
CARRY
+C
@+C
402
Output
Required
352
DOUBLE
SIGNED BINARY
ADD WITH
CARRY
+CL
@+CL
403
Output
Required
352
BCD ADD WITH-
OUT CARRY
+B
@+B
404
Output
Required
354
+(400)
R
Au
Ad
Au: Augend word
Ad: Addend word
R: Result word
RCY
+
Au
Ad
CY will turn ON
when there is a
carry.
(Signed binary)
(Signed binary)
(Signed binary)
Adds 4-digit (single-word) hexadecimal data and/or constants.
+L(401)
R
Au
Ad
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
R+1CY
+
R
Ad+1
Au
Ad
Adds 8-digit (double-word) hexadecimal data and/or constants.
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
carr
y
.
Au+1
+C(402)
R
Au
Ad
Au: Augend word
Ad: Addend word
R: Result word
CY
+
RCY
Au
Ad
Adds 4-digit (single-word) hexadecimal data and/or constants with the
Carry Flag (CY).
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn ON
when there is a
carry.
+CL(403)
R
Au
Ad
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
+
CY
CY
R+1 R
Ad+1
Au
Ad
CY will turn ON
when there is a
carry.
Au+1
(Signed binary)
(Signed binary)
(Signed binary)
Adds 8-digit (double-word) hexadecimal data and/or constants with the
Carry Flag (CY).
+B(404)
Au
Ad
R
Au: Augend word
Ad: Addend word
R: Result word
CY
+
(BCD)
(BCD)
(BCD)
Au
Ad
R
Adds 4-digit (single-word) BCD data and/or constants.
CY will turn ON
when there is a
carry.

Table of Contents

Related product manuals