EasyManua.ls Logo

Omron CP1E CPU UNIT SOFTWARE - Page 374

Omron CP1E CPU UNIT SOFTWARE
450 pages
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...
Appendices
A-20
CP1E CPU Unit Software User’s Manual(W480)
SIGNED
BINARY SUB-
TRACT WITH
CARRY
C @ Subtracts 4-digit (single-word) hexadecimal data and/or constants
with the Carry Flag (CY).
DOUBLE
SIGNED
BINARY WITH
CARRY
CL @ Subtracts 8-digit (double-word) hexadecimal data and/or con-
stants with the Carry Flag (CY).
BCD SUB-
TRACT WITH-
OUT CARRY
B @ Subtracts 4-digit (single-word) BCD data and/or constants.
DOUBLE BCD
SUBTRACT
WITHOUT
CARRY
BL @ Subtracts 8-digit (double-word) BCD data and/or constants.
BCD SUB-
TRACT WITH
CARRY
BC @ Subtracts 4-digit (single-word) BCD data and/or constants with the
Carry Flag (CY).
DOUBLE BCD
SUBTRACT
WITH CARRY
BCL @ Subtracts 8-digit (double-word) BCD data and/or constants with
the Carry Flag (CY).
Instruction Mnemonic Variations Symbol/Operand Function
C(412)
Mi
Su
R
Mi: Minuend word
Su: Subtrahend word
R: Result word
CY
Mi
Su
RCY
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
CL(413)
Mi
Su
R
Mi: Minuend word
Su: Subtrahend word
R: Result word
Mi+1
Su+1
R+1
CY
Mi
Su
RCY
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
B(414)
Mi
Su
R
Mi: Minuend word
Su: Subtrahend word
R: Result word
Mi
Su
RCY
(BCD)
(BCD)
(BCD)
CY will turn ON
when there is a
carry.
BL(415)
Mi
Su
R
Mi: 1st minuend word
Su: 1st subtrahend word
R: 1st result word
Mi +1
Su+1
R+1CY
Mi
Su
R
(BCD)
(BCD)
(BCD)
CY will turn
ON when
there is a
borrow.
BC(416)
Mi
Su
R
Mi: Minuend word
Su: Subtrahend word
R: Result word
CY
Mi
Su
RCY
(BCD)
(BCD)
(BCD)
CY will turn
ON when
there is a
borrow.
BCL(417)
Mi
Su
R
Mi: 1st minuend word
Su: 1st subtrahend word
R: 1st result word
Mi +1
Su+1
R+1
CY
Mi
Su
RCY
(BCD)
(BCD)
(BCD)
CY will turn
ON when
there is a
borrow.

Table of Contents

Related product manuals