163
4
4 Instructions 4.5.1 Data Conversion
◆
Application
The lower four bits of each of the three elements from head address D100 are combined into 16-bit data,
and the remaining bits are lled with 0s. The result is stored in D120.
DIS: 4-bit separation of 16-bit data
◆
Overview
The DIS instruction separates 16-bit data by every four bits.
DIS
S D n
4-bit separation of
16-bit data
Applicable model:
H3U
S
Source
data
Number of the element that stores the data to be separated
16-bit instruction
(7 steps)
DIS: Continuous
execution
DISP: Pulse
execution
D Result
Start number of the elements that store the data after
separation
n
Separated
data count
Number of separated data entries (value range: 0 to 4; no
processing when n = 0)
◆
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
n X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.