EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 143

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
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...
103
Symbol Math Instructions
Section 3-9
DOUBLE BCD
SUBTRACT
WITH CARRY
–BCL
@–BCL
417
Output
Required
SIGNED BINARY
MULTIPLY
*
@*
420
Output
Required
DOUBLE
SIGNED BINARY
MULTIPLY
*L
@*L
421
Output
Required
UNSIGNED
BINARY
MULTIPLY
*U
@*U
422
Output
Required
DOUBLE
UNSIGNED
BINARY
MULTIPLY
*UL
@*UL
423
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
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.
Subtracts 8-digit (double-word) BCD data and/or constants with the
Carry Flag (CY).
*(420)
Md
Mr
R
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
Md
Mr
R +1 R
(Signed binary)
(Signed binary)
(Signed binary)
Multiplies 4-digit signed hexadecimal data and/or constants.
×
*L(421)
Md
Mr
R
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
Md + 1
Mr + 1
R + 1 RR + 3
R + 2
Md
Mr
(Signed binary)
(Signed binary)
(Signed binary)
Multiplies 8-digit signed hexadecimal data and/or constants.
×
*U(422)
Md
Mr
R
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
Md
Mr
R +1 R
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Multiplies 4-digit unsigned hexadecimal data and/or constants.
×
*UL(423)
Md
Mr
R
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
Md + 1
Mr + 1
R + 1 RR + 3
R + 2
Md
Mr
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Multiplies 8-digit unsigned hexadecimal data and/or constants.
×

Table of Contents

Related product manuals