Delta DVP-ES3 — 6.21.2 Explanation of String Processing Instructions

Chapter 6 Applied Instructions 4. The value in S 2 +1 must be between 2 ≦ S 2 +1 ≦ 20; the sign (+,-) and the digits in an integer or decimal number are included but the decimal point in a decimal number and the exponent number are not included. 5. If the value in S 1 is a positive number, the first ASCII code can be stored in D ; if the value in S 1 is a negative number, the sign 16#2D (-) is stored first and then the second ASCII is stored. 6. Decimal format ( S 2 =0) After conversion, the floating-point string in the device D. Decimal .

 The value in S 2 +1 must be between 2 ≦ S2+1 ≦ 20; the sign (+,-) and the digits in an integer or decimal number are included but the decimal point in a decimal number and the exponent number are not included.  Example 1 Suppose the number of characters is eight. Two floating-point numbers examples are -1.2345678 and 123456. The calculation is as follows. 6_ After the conversion, if the floating-point number is stored in S 2 +1 but if the length exceeds the value in S 2 +1, the instruction rounds off the digits in the decimal number. The floating-point string does not have to fill all of S 2 +1. 6-651 Operand Description S2 0: Decimal format 1:

Exponential S2+1 Number of character Sign Integer D Floating-point number Floating-point number number -1.2345678 123456 High byte Low byte High byte Low byte D 16#31 (1) 16#2D (-) 16#32 (2) 16#31 (1) D + 1 16#32 (2) 16#2E (.) 16#34 (4) 16#33 (3) D + 2 16#34 (4) 16#33 (3) 16#36 (6) 16#35 (5) D + 3 16#36 (6) 16#35 (5) 16#00 ending character D + 4 16#00 ending character 16#38 (8)