283
D
n
S
W T O B P
FNC
141
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
WTOBP D10 D20 K5
X0
S
D
n
S : the head ID of source devices to be split
D : the head ID of storage devices for the split result
n : the number of bytes to be split
When X0 = “OFF” → “ON”, the instruction separates the contents of D10~D11 and D12's lower byte into 5 bytes
of data, then stores those bytes to 5 16-bit word components D20~D24. Since it is no data for all the upper bytes
of D20~D23, these bytes will be filled in 00H.
This instruction splits the consecutive byte devices which are started from the lower byte of , then store
the split result to the lower bytes of devices those are started from .
S
D
n
n
D10
D11
D12
43H
87H
CBH
21H
65H
A9H
b15 b0b8
b7
00H
21H
43H
87H
A9H
D20
D21
D22
D23
D24
b15 b0b8
b7
Source data
Executive result
00H
00H
00H
00H
65H
X0=OFF → ON
Fill in 00H
D
= 5
n
S
D10
D11
D12
43H
87H
CBH
21H
65H
A9H
b15 b0b8
b7
00H
21H
43H
87H
CBH
A9H
D20
D21
D22
D23
D25
D24
b15 b0b8
b7
Source data
Executive result
00H
00H
00H
00H
00H
65H
X0=OFF → ON
D
= 6
n
S
If = 6, the execute result is shown below.
n
Operand
Devices
Split Word to Byte
n
≧ 0
S occupies (n/2) components
D occupies n components
Fill in 00H
If = 0, the instruction will not execute.