Omron CJ2 CPU UNIT SOFTWARE User Manual page 510

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

Advertisement

Appendices
Instruction
Mnemonic
DOUBLE BCD
+BCL
407
ADD WITH
@+BCL
CARRY
SIGNED
410
BINARY SUB-
@−
TRACT WITH-
OUT CARRY
− L
DOUBLE
411
SIGNED
@− L
BINARY SUB-
TRACT WITH-
OUT CARRY
− C
SIGNED
412
BINARY SUB-
@− C
TRACT WITH
CARRY
− CL
DOUBLE
413
SIGNED
@−- CL
BINARY WITH
CARRY
− B
BCD SUB-
414
TRACT WITH-
@− B
OUT CARRY
A-26
Code
Symbol/Operand
Adds 8-digit (double-word) BCD data and/or constants
+BCL(407)
with the Carry Flag (CY).
Au
Ad
R
Au: 1st augend
word
Ad: 1st addend
CY will turn
word
ON when
R: 1st result word
there is a
carry.
Subtracts 4-digit (single-word) hexadecimal data
− (410)
and/or constants.
Mi
Su
R
CY will turn
Mi: Minuend word
ON when
Su: Subtrahend
there is a
word
borrow.
Subtracts 8-digit (double-word) hexadecimal data
−L(411)
and/or constants.
Mi
Su
R
CY will turn
ON when
Mi: Minuend word
there is a
Su: Subtrahend
borrow.
word
R: Result word
Subtracts 4-digit (single-word) hexadecimal data
−C(412)
and/or constants with the Carry Flag (CY).
Mi
Su
R
Mi: Minuend word
Su: Subtrahend
CY will turn
word
ON when
R: Result word
there is a
borrow.
Subtracts 8-digit (double-word) hexadecimal data and/or
−CL(413)
constants with the Carry Flag (CY).
Mi
Su
R
Mi: Minuend word
CY will turn
Su: Subtrahend
ON when
word
there is a
R: Result word
borrow.
Subtracts 4-digit (single-word) BCD data and/or constants.
−B(414)
Mi
Su
R
CY will turn ON
when there is a
Mi: Minuend word
carry.
Su: Subtrahend
word
R: Result word
Function
Au+1
Au
Ad+1
Ad
CY
+
CY
R+1
R
Mi
(Signed binary)
(Signed binary)
Su
(Signed binary)
CY
R
(Signed binary)
Mi+1
Mi
(Signed binary)
Su+1
Su
(Signed binary)
CY
R+1
R
(Signed binary)
Mi
(Signed binary)
Su
CY
CY
R
(Signed binary)
(Signed binary)
Mi+1
Mi
(Signed binary)
Su+1
Su
CY
CY
R+1
R
(Signed binary)
(BCD)
Mi
(BCD)
Su
(BCD)
CY
R
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Output
Required
(BCD)
(BCD)
(BCD)
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents