Omron CS1G/H-CPUxx-EV1 Programming Manual page 136

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Symbol Math Instructions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE BCD
−BCL(417)
SUBTRACT
WITH CARRY
–BCL
@–BCL
417
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
SIGNED BINARY
*(420)
MULTIPLY
*
@*
420
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
DOUBLE
*L(421)
SIGNED BINARY
MULTIPLY
*L
@*L
421
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
UNSIGNED
*U(422)
BINARY
MULTIPLY
*U
@*U
422
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
DOUBLE
*UL(423)
UNSIGNED
BINARY
MULTIPLY
*UL
@*UL
423
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
100
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.
Multiplies 4-digit signed hexadecimal data and/or constants.
Md
Mr
×
R
R +1
Multiplies 8-digit signed hexadecimal data and/or constants.
Md
Mr
×
R
R + 3
R + 2
Multiplies 4-digit unsigned hexadecimal data and/or constants.
Md
Mr
×
R
R +1
Multiplies 8-digit unsigned hexadecimal data and/or constants.
Md
Mr
×
R
R + 3
R + 2
Function
Mi +1
Mi
Su+1
Su
CY
CY
R+1
R
(Signed binary)
Md
(Signed binary)
Mr
(Signed binary)
R
Md
(Signed binary)
Md + 1
(Signed binary)
Mr + 1
Mr
(Signed binary)
R + 1
R
(Unsigned binary)
Md
(Unsigned binary)
Mr
(Unsigned binary)
R
Md + 1
Md
(Unsigned binary)
Mr + 1
(Unsigned binary)
Mr
R + 1
R
(Unsigned binary)
Section 3-9
Location
Execution condition
Output
Required
(BCD)
(BCD)
(BCD)
Output
Required
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents