EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Symbol Math Instructions

Omron CJ - PROGRAMMING MANUAL 12-2009
448 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...
100
Symbol Math Instructions
Section 3-9
3-9 Symbol Math Instructions
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
SIGNED BINARY
ADD WITHOUT
CARRY
+
@+
400
Output
Required
DOUBLE
SIGNED BINARY
ADD WITHOUT
CARRY
+L
@+L
401
Output
Required
SIGNED BINARY
ADD WITH
CARRY
+C
@+C
402
Output
Required
DOUBLE
SIGNED BINARY
ADD WITH
CARRY
+CL
@+CL
403
Output
Required
BCD ADD WITH-
OUT CARRY
+B
@+B
404
Output
Required
+(400)
Au
Ad
R
Au: Augend word
Ad: Addend word
R: Result word
Au
Ad
RCY
+
Adds 4-digit (single-word) hexadecimal data and/or constants.
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn ON
when there is a
carry.
+L(401)
Au
Ad
R
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
Ad+1
R+1CY
+
Au
Ad
R
Au+1
CY will turn
ON when
there is a
carry.
Adds 8-digit (double-word) hexadecimal data and/or constants.
(Signed binary)
(Signed binary)
(Signed binary)
+C(402)
Au
Ad
R
Au: Augend word
Ad: Addend word
R: Result word
CY
+
Au
Ad
RCY
CY will turn ON
when there is a
carry.
Adds 4-digit (single-word) hexadecimal data and/or constants with the
Carry Flag (CY).
(Signed binary)
(Signed binary)
(Signed binary)
+CL(403)
Au
Ad
R
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
Ad+1
R+1
CY
+
Au
Ad
RCY
Au+1
Adds 8-digit (double-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
carr
y
.
+B(404)
Au
Ad
R
A
u: Augend word
A
d: Addend word
R: Result word
Au
Ad
RCY
+
(BCD)
(BCD)
(BCD)
CY will turn ON
when there is a
carry.
Adds 4-digit (single-word) BCD data and/or constants.

Table of Contents

Related product manuals