Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 95

Table of Contents

Advertisement

Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE
CL(413)
SIGNED BINARY
WITH CARRY
–CL
@–CL
413
Mi: Minuend word
Su: Subtrahend
word
R: Result word
BCD SUBTRACT
B(414)
WITHOUT
CARRY
–B
@–B
Su
414
Mi: Minuend word
Su: Subtrahend
word
R: Result word
DOUBLE BCD
BL(415)
SUBTRACT
WITHOUT
CARRY
–BL
Su
@–BL
415
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
BCD SUBTRACT
BC(416)
WITH CARRY
–BC
@–BC
416
Mi: Minuend word
Su: Subtrahend
word
R: Result word
DOUBLE BCD
SUBTRACT
BCL(417)
WITH CARRY
–BCL
@–BCL
417
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Subtracts 8-digit (double-word) hexadecimal data and/or constants
with the Carry Flag (CY).
Mi
Su
R
CY will turn
ON when
there is a
CY
borrow.
Subtracts 4-digit (single-word) BCD data and/or constants.
Mi
R
CY will turn ON
when there is a
carry.
Subtracts 8-digit (double-word) BCD data and/or constants.
Mi
R
CY will turn ON
when there is a
borrow.
Subtracts 4-digit (single-word) BCD data and/or constants with the
Carry Flag (CY).
Mi
Su
R
CY will turn ON
when there is a
borrow.
Subtracts 8-digit (double-word) BCD data and/or constants with the
Carry Flag (CY).
Mi
Su
R
CY will turn ON
when there is a
borrow.
Function
(Signed binary)
Mi+1
Mi
(Signed binary)
Su+1
Su
CY
(Signed binary)
R+1
R
(BCD)
Mi
(BCD)
Su
(BCD)
CY
R
Mi +1
Mi
Su+1
Su
CY
R+1
R
(BCD)
Mi
(BCD)
Su
CY
(BCD)
CY
R
Mi +1
Mi
Su+1
Su
CY
CY
R+1
R
2. Summary of Instructions
Location
Execution
condition
Output
Required
Output
Required
Output
Required
(BCD)
(BCD)
(BCD)
Output
Required
Output
Required
(BCD)
(BCD)
(BCD)
Page
360
363
2
363
366
366
59

Advertisement

Table of Contents
loading

Table of Contents