EasyManua.ls Logo

Omron SYSMAC CV Series - Binary Divide: Dvb(083)

Omron SYSMAC CV Series
636 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...
(082)
MLB D00200 D00201 D00202
0000
00
265
Note With version-2 CVM1 CPUs, mathematics instructions can use symbols. The
instructions corresponding to MLB(082) and MLBL(086) are
*
U(422) and
*
UL(423).
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
EQ (A50006): The result is 0.
N (A50008): Shows the status of bit 15 of R+1.
Example When CIO 000000 is ON in the following example, the four-digit hexadecimal
content of D00200 is multiplied by the four-digit hexadecimal content of D00201
and the 8-digit hexadecimal result is stored in D00202 and D00203.
Address Instruction Operands
00000 LD 000000
00001 MLB(0820
D00200
D00201
D00202
0FFF
D00200
0200
D00201
D00203 D00202
X
001FFE00
5-19-4 BINARY DIVIDE: DVB(083)
Variations
j DVB(083)
(083)
DVB Dd Dr R
Operand Data AreasLadder Symbol
Dd: Dividend word CIO, G, A, T, C, #, DM, DR, IR
R: Result word CIO, G, A, DM
Dr: Divisor word CIO, G, A, T, C, #, DM, DR, IR
When the execution condition is OFF, DVB(083) is not executed. When the
execution condition is ON, DVB(083) divides the content of Dd by the content of
Dr and the result is placed in R and R+1: the quotient in R, the remainder in R+1.
DdDr
R R + 1
Quotient Remainder
Note With version-2 CVM1 CPUs, mathematics instructions can use symbols. The
instructions corresponding to DVB(083) and DVBL(085) are /U(432) and /
UL(433).
Dr must not be 0.
Precautions
Description
Precautions
Binary Calculation Instructions Section 5-19

Table of Contents

Related product manuals