EasyManua.ls Logo

Omron SYSMAC CV Series - Page 298

Omron SYSMAC CV Series
636 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...
286
DOUBLE SIGNED BINARY MULTIPLY
When the execution condition is OFF, *L(421) is not executed. When the execu-
tion condition is ON, *L(421) multiplies the signed 8-digit content of Md and
Md+1 by the signed content of Mr and Mr+1, and places the result in R to R+3.
Md + 1 Md
Mr + 1 Mr
R + 1 RR + 3 R + 2
x
UNSIGNED BINARY MULTIPLY
When the execution condition is OFF, *U(422) is not executed. When the execu-
tion condition is ON, *U(422) multiplies the unsigned content of Md by the un-
signed content of Mr, places the rightmost four digits of the result in R, and
places the leftmost four digits in R+1.
Md
Mr
R +1 R
X
DOUBLE UNSIGNED BINARY MULTIPLY
When the execution condition is OFF, *UL(423) is not executed. When the
execution condition is ON, *UL(423) multiplies the unsigned 8-digit content of
Md and Md+1 by the unsigned content of Mr and Mr+1, and places the result in R
to R+3.
Md + 1 Md
Mr + 1 Mr
R + 1 RR + 3 R + 2
x
Precautions Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): The content of a*DM word is not BCD when set for BCD.
EQ(A50006) The multiplication result is all zeroes.
N (A50008) The leftmost bit (MSB) of word R+1 (or word R+3 for
“double” instructions) after the multiplication is “1.”
Example *L Operation
When CIO 000000 is ON in the following example, the content of D00101 and
D00100 are multiplied by the content of D00111 and D00110, in eight-digit binary
with sign, and the result is output to D00123 through D00120.
Symbol Math Instructions Section 5-20

Table of Contents

Related product manuals