Mitsubishi Electronics E60 Video Game Controller User Manual


 
D*
- 97 -
Execution conditions
The execution conditions for D* are as shown below.
Multiplication command OFF
D*
ON
Executed per scan
Executed per scan
Program example
(1) Program to multiply the D7, 8 BIN data and D18, 19 BIN data when X5 turns ON, and output the
results to D1 to 4.
Coding
No. of
steps
Com-
mand
Device
10 LD X5
11 D* D7 D18 D1
D*
D18D7 D1
X5
10
16
(2) Program to multiply the D20 BIN data and D10 BIN data when X0 turns ON, and output the
high-order 16-bit to Y30 to 4F.
Coding
No. of
steps
Com-
mand
Device
10 LD X0
11 D* D20 D10 D0
16 DMOV D3 K8Y30
D* D10D20 D0
X0
10
D3DMOV
K8Y30
20