Delta DVP-ES3 — 6.13.2 Explanation of Data Processing Instructions

Chapter 6 Applied Instructions Example When M0 is ON, the instruction adds the values of the 3 single precision floating points in (D1, D0), (D3, D2), (D5, D4) and then divides the addition result by 3, then stores the result in (D11, D10). [(D1, D0)+(D3, D 2)+(D5, D4)]/3 (D11, D 10) (D1, D 0) 100.1 After the instruction is executed. (D3, D 2) 113.2 112.2 (D11, D10) (D5, D 4) 123.3 Additional remarks 1. If the value in n is not between 1–256, the instruction is not executed, SM0 is ON, and the error code in SR0 is 6_ 16#200B. 2. If S +2* n -1exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 3.

If the value in S exceeds the range of floating point numbers that can be shown, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2013. 6-393