285
D
n
S
U N
I
P
FNC
143
1
2
M
3
○
n
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
D
n
UNIP D10 D20 K3
X0
S
D
n
S : the head ID of source devices to be combined
D : the head ID of storage devices for the combined result
n : the number of 4-bit nibbles to be combined
When X0 = “OFF” → “ON”, the instruction takes 3 nibbles of data from those lowest nibbles within D10~D12, to
merge and store the data into a 16-bit word component D20. Since it is no data for the highest nibble of D20, this
nibble will be filled in 0H.
This instruction takes all the lowest nibbles of the devices that started from the to get nibbles of data, then
restructures and stores the data to the 16-bit word device . If = 0, the instruction will not execute. When
the < 4, the vacant nibbles will be filled in 0H.
S
D
n
n
1H
2H
3H
D10
D11
D12
b15 b0b4
b3
Ignored
b0
0H 3H
2H 1H
X0=OFF → ON
b3b7b8 b4b12
b11
b15
D20
S
= 3
n
D
If = 4, the execute result is shown below.
D10
D11
D12
S
= 4
n
D13
AH
9H
2H
b15 b0b4
b3
b0
X0=OFF → ON
b3b7b8 b4b12
b11
b15
D20
D
8H
AH
9H
2H
8H
n
= 0~4
S occupies n components
Since = 3, fill in 0H.
n
n
Operand
Devices
Combine 4-bit Nibble to Word
Source data Executive result
Ignored
Source data Executive result