Chapter 6 Applied Instructions 
6-291 
API 
Instruction code  Operand  Function 
1216    UNI  P 
S, n, D 
Uniting the 16-bit data 
Device 
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#  “$” 
DF 
16-bit instruction (7 steps) 
Symbol: 
 
S
:
Data source  Word 
n
:
Data length  Word 
D
:
Operation result  Word 
Explanation: 
1.  The 16-bit values in the registers specified by S~S+(n-1) are divided into groups (four bits as a 
group), and every group which is composed of b0~b3 is stored in the register specified by D. 
S
+1
b3   b0
b15         b4
S
+2
S
+3
S
 
Being ignored
The data which 
is stored
D
b3   b0b7   b4b11  b8b15   b12
 
2.  The operand n should be within the range between 1 and 4. 
Example: 
Suppose the values in D0~D3 are 16#1234, 16#5678, 16#8765, and 16#4321 respectively. When 
M0 is enabled, the instruction UNI is executed. The values in D0~D3 are divided into groups (four 
bits as a group), and every group which is composed of b0~b3 is stored in D10.