EasyManuals Logo

Omron SYSMAC CP Series User Manual

Omron SYSMAC CP Series
578 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
Page #481 background imageLoading...
Page #481 background image
A-21
Appendices
CP2E CPU Unit Software User’s Manual(W614)
A-1 Instruction Functions
App
A-1-9 Symbol Math Instructions
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

Other manuals for Omron SYSMAC CP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CP Series and is the answer not in the manual?

Omron SYSMAC CP Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CP Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals