5 - 40
Operation Practice
(1) When X0 is turned on, the data in X20 to X2F is multiplied by the data in X30 to
3F, and the result is output to Y40 to 5F.
(2) When X1 is turned on, the data in X30 to X3F is divided by the data in X20 to 2F.
The quotient is output to Y50 to 5F, and the remainder is output to Y40 to 4F.
X0
0
END
X1
30
13
D0K4X30BINP
D1K4X20BINP
D0K4X30BINP
D1K4X20BINP
D20D1D0
6
3
6
3
03
K8Y40D10DBCDP
18
K4Y50D20BCDP
0
K4Y40D21BCDP
0
/P
6
D10D1D0
183
*P
6
D0 D1=D10
6 3=18
Related Exercise
---- Exercise 10, Exercise 11