5 Applied Instructions and Basic Usage
M1000
DFLT D10 D100
DEDIV K615 K10 D300
DBIN K2X0 D200
DFLT D200 D202
DEDIV D100 D202 D400
DEMUL D400 D300 D20
DEBCD D20 D30
DINT D20 D40
1
2
3
4
5
6
7
8
1. The binary integer in (D11, D10) is converted into a binary floating-point
value, and the conversion result is stored in (D101, D100).
2. The binary-coded decimal value in X7~X0 is converted into a binary value,
and the conversion result is stored in (D201, D200).
3. The binary integer in (D201, D200) is converted into a binary floating-point
value, and the conversion result is stored in (D203, D202).
4. The constant K615 is divided by the constant K10, and the quotient which
is a binary floating-point value is stored in (D301, D300).
5. The binary floating-point value in (D101, D100) is divided by the binary
floating-point value in (D203, D202), and the quotient which is a binary
floating-point value is stored in (D401, D400).
6. The binary floating-point value in (D401, D400) is multiplied by the binary
floating-point value in (D301, D300), and the product which is a binary
floating-point value is stored in (D21, D20).
7. The binary floating-point value in (D21, D20) is converted into a decimal
floating-point value, and the conversion result is stored in (D31, D30).
8. The binary floating-point value in (D21, D20) is converted into a binary
integer, and the conversion result is stored in (D41, D40).
DVP-20PM Application Manual
5-72