2-2-9
Symbol Math Instructions
Instruction
Symbol/Operand
Mnemonic
Code
SIGNED BINARY
+(400)
ADD WITHOUT
CARRY
Au
+
@+
Ad
400
Au: Augend word
Ad: Addend word
R: Result word
DOUBLE
+L(401)
SIGNED BINARY
ADD WITHOUT
CARRY
+L
@+L
401
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
SIGNED BINARY
+C(402)
ADD WITH
CARRY
+C
@+C
Ad
402
Au: Augend word
Ad: Addend word
R: Result word
DOUBLE
+CL(403)
SIGNED BINARY
ADD WITH
Au
CARRY
+CL
Ad
@+CL
403
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result word
BCD ADD WITH-
+B(404)
OUT CARRY
+B
@+B
404
Au: Augend word
Ad: Addend word
R: Result word
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Adds 4-digit (single-word) hexadecimal data and/or constants.
R
CY will turn ON
when there is a
carry.
Adds 8-digit (double-word) hexadecimal data and/or constants.
Au
Ad
+
R
CY will turn
ON when
CY
there is a
carry.
Adds 4-digit (single-word) hexadecimal data and/or constants with the
Carry Flag (CY).
Au
R
CY will turn ON
when there is a
carry.
Adds 8-digit (double-word) hexadecimal data and/or constants with the
Carry Flag (CY).
R
+
CY will turn ON
when there is a
CY
carry.
Adds 4-digit (single-word) BCD data and/or constants.
Au
Ad
R
CY will turn ON
when there is a
carry.
2. Summary of Instructions
Function
Au
(Signed binary)
Ad
(Signed binary)
+
(Signed binary)
CY
R
(Signed binary)
Au+1
Au
(Signed binary)
Ad+1
Ad
(Signed binary)
R+1
R
Au
(Signed binary)
(Signed binary)
Ad
CY
+
(Signed binary)
CY
R
Au+1
(Signed binary)
Au
(Signed binary)
Ad+1
Ad
CY
(Signed binary)
R+1
R
(BCD)
Au
(BCD)
Ad
+
(BCD)
CY
R
Location
Page
Execution
condition
Output
348
Required
Output
348
2
Required
Output
350
Required
Output
350
Required
Output
352
Required
57
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?