6 BASIC INSTRUCTIONS
6.6 Data Conversion Instructions
479
6
• These instructions separate the lower (n) nibble(s) (4 bits/nibble) from the 16-bit binary data in the device specified by (s),
and store each of the separated data in the lower 4 bits of the (n) points of data in the device specified by (d).
• The upper 12 bits of the (n) points of data in the device specified by (d) are filled with 0s.
• Specify a value 1 to 4 for (n).
• When (n)=0, no processing is performed and the (n) points of data starting from the device specified by (d) remain
unchanged.
(1) Data storage area
(2) Filled with 0s.
Error code
(SD0)
Description
3401H The value specified by (n) is out of the range, 0 to 4.
b3 b0
b7 b4
b11 b8
b15 b12 b0b3
b4b15
(s) (d)
(d)+1
(d)+2
(d)+3
(n)
(2) (1)