EasyManua.ls Logo

Omron CPM1

Omron CPM1
541 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...
299
Binary Calculation Instructions Section 5-21
5-21-3 BINARY MULTIPLY – MLB(52)
Limitations DM 6143 to DM 6655 cannot be used for R.
MLB(52) cannot be used to multiply signed binary data. In CQM1 PCs,
MBS(––) can be used. Refer to 5-21-7 SIGNED BINARY MULTIPLY – MBS(–
–).
Description When the execution condition is OFF, MLB(52) is not executed. When the exe-
cution condition is ON, MLB(52) multiplies the content of Md by the contents
of Mr, places the rightmost four digits of the result in R, and places the left-
most four digits in R+1.
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ: ON when the result is 0.
5-21-4 BINARY DIVIDE – DVB(53)
Limitations DM 6143 to DM 6655 cannot be used for R.
DVB(53) cannot be used to divide signed binary data. In CQM1 PCs,
DBS(––) can be used. Refer to 5-21-9 SIGNED BINARY DIVIDE – DBS(––)
for details.
Description When the execution condition is OFF, DVB(53) is not executed. When the
execution condition is ON, DVB(53) divides the content of Dd by the content
Md: Multiplicand word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Mr: Multiplier word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR LR
MLB(52)
Md
Mr
R
@MLB(52)
Md
Mr
R
Md
Mr
R +1 R
X
Dd: Dividend word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Dr: Divisor word (binary)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR LR
DVB(53)
Dd
Dr
R
@DVB(53)
Dd
Dr
R

Table of Contents

Other manuals for Omron CPM1

Related product manuals