6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
433
6
• These instructions convert the 32-bit binary Gray code data in the device specified by (s) to 32-bit binary data, and store the
converted data in the device specified by (d).
(s)+1: Upper 16 bits
(s): Lower 16 bits
Error code
(SD0)
Description
3401H When the DGBIN(P) instruction is used, the value in the device specified by (s) is out of the range, 0 to 2147483647.
(d) BIN
0
305419896
001 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 00
b31 b16 b0b15
0
305419896
001 1 0 1 1 0 0 1 0 1 1 1 0 0 1 1 1 1 1 0 1 0 1 0 0 0 1 00
(d)+1
b31 b16 b0b15
(d)
(s)
(s)+1 (s)