Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set K4: With n = 3, transform 8-bit HEX data into ASCII data (higher 4 bits, lower 4 bits) in the following rule: Hi-byte Lo-byte Hi-byte Lo-byte Example: Use both K2 and K4 at a time 1. When M0 = ON, transform 16-bit data in D0, D1 into ASCII data in the following order: H byte - L byte - H byte - Low byte, and store the results in D10. 2. Move the 16-bit data to where the data of the L-byte are. 3. Transform 8-bit HEX data into ASCII data M0  Value of source devices D0, D1:  When the 1 st DTM instruction executes (m=K2), ELC transforms the 16-bit data (Hi-byte, Lo-byte) into 8-bit data and move to registers D2~D5.

 When the 2 nd DTM instruction executes (m=K4), ELC transforms the 8-bit HEX data into ASCII data and move to registers D10~D17. 3-181 Hi-byte Lo-byte    H L H L H L    DTM D0 D2 K2 K2 DTM D2 D10 K4 K4 Register D0 D1 Value H1234 H5678 Register D2 D3 D4 D5 Value H12 H34 H56 H78 Register D10 D11 D12 D13 D14 D15 D16 D17 Value H0031 H0032 H0033 H0034 H0035 H0036 H0037 H0038