Delta DVP-ES3 — 6.21.2 Explanation of String Processing Instructions

Chapter 6 Applied Instructions b15 b7 b15-b12 b11-b8 b7-b4 b8 b0 b3-b0 S + 0  D S + 1 D +1 S + 2 S + 3 4. If the value in S is 16#20 the value is processed as 16#30. If the value in S is 16#00, the value is processed as an ending character. 5. For 16-bit instructions, if S is a string, the number of characters contained in the string must be between 1–4. For 32-bit instructions, if S is a string, the number of characters contained in the string must be between 1–8. Example 1 Suppose the values are D20=16#3820, D21=16#3637 (ASCII 876). When the instruction executes, the instruction converts the value into Y0=16#876.

6_ b15 b7 b15-b12 b11-b8 b7-b4 b8 b0 b3-b0 D20  Y0 D21 6-645 “ 8 “ “ 9 “ “ 6 “ “ 7 “ “ 4 “ “ 5 “ “ 2 “ “ 3 “ 5 4 3 2 9 8 7 6 16#38 16#20 16#36 16#37 0 8 7 6