Omron CJ2 CPU UNIT SOFTWARE User Manual page 509

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
DOUBLE
+L
401
SIGNED
@+L
BINARY ADD
WITHOUT
CARRY
SIGNED
+C
402
BINARY ADD
@+C
WITH CARRY
DOUBLE
+CL
403
SIGNED
@+CL
BINARY ADD
WITH CARRY
BCD ADD
+B
404
WITHOUT
@+B
CARRY
DOUBLE BCD
+BL
405
ADD WITH-
@+BL
OUT CARRY
BCD ADD
+BC
406
WITH CARRY
@+BC
CJ2 CPU Unit Software User's Manual
Code
Symbol/Operand
Adds 8-digit (double-word) hexadecimal data and/or
+L(401)
constants.
Au
Ad
R
CY will
turn ON
Au: 1st augend
when there
is a carry.
word
Ad: 1st addend
word
R: 1st result word
Adds 4-digit (single-word) hexadecimal data and/or
+C(402)
constants with the Carry Flag (CY).
Au
Ad
R
Au: Augend word
Ad: Addend word
CY will turn
R: Result word
ON when
there is a
carry.
Adds 8-digit (double-word) hexadecimal data and/or
+CL(403)
constants with the Carry Flag (CY).
Au
Ad
R
Au: 1st augend
CY will
word
turn ON
Ad: 1st addend
when there
word
is a carry.
R: 1st result word
Adds 4-digit (single-word) BCD data and/or constants.
+B(404)
Au
Ad
R
CY will turn
ON when
Au: Augend word
there is a
Ad: Addend word
carry.
R: Result word
Adds 8-digit (double-word) BCD data and/or constants.
+BL(405)
Au
Ad
R
CY will turn
ON when
Au: 1st augend
there is a
word
carry.
Ad: 1st addend
word
R: 1st result word
Adds 4-digit (single-word) BCD data and/or
+BC(406)
constants with the Carry Flag (CY).
Au
Ad
R
Au: Augend word
Ad: Addend word
CY will turn
R: Result word
ON when
there is a
carry.
Function
Au+1
(Signed binary)
Au
(Signed binary)
+
Ad+1
Ad
(Signed binary)
CY
R+1
R
(Signed binary)
Au
(Signed binary)
Ad
CY
+
(Signed binary)
CY
R
Au+1
(Signed binary)
Au
(Signed binary)
Ad+1
Ad
CY
+
(Signed binary)
CY
R+1
R
(BCD)
Au
(BCD)
Ad
+
(BCD)
CY
R
Au+1
Au
Ad+1
Ad
+
CY
R+1
R
(BCD)
Au
(BCD)
Ad
CY
+
(BCD)
CY
R
Appendices
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
(BCD)
(BCD)
(BCD)
Output
Required
A-25

Advertisement

Table of Contents
loading

Table of Contents