beautypg.com

Delta DVP-ES2 User Manual

Page 233

background image

3 . I n s t r u c t i o n S e t

3 - 11 7

M1000

FLT

D10

D100

BIN

K2X0

D200

FLT

D200

D202

DEDIV

K615

K10

DEDIV

D100

D202

DEMUL

D400

D300

DEBCD

D20

D30

DINT

D20

D40

D300

D400

D20

1

2

3

4

5

6

7

8

1.

Covert D10 (BIN integer) to D101, D100 (floating point).

2.

Covert the value of X7~X0 (BCD value) to D200 (BIN value).

3.

Covert D200 (BIN integer) to D203, D202 (floating point).

4.

Save the result of K615

÷ K10 to D301, D300 (floating point).

5.

Divide the floating point:

Save the result of (D101, D100)

÷ (D203, D202) to D401, D400 (floating point).

6.

Multiply floating point:

Save the result of (D401, D400) × (D301, D300) to D21, D20 (floating point).

7.

Covert floating point (D21, D20) to decimal floating point (D31, D30).

8.

Covert floating point (D21, D20) to BIN integer (D41, D40).

This manual is related to the following products: