160
S F T R P
D
n1 n 2
S
S F T L P
D
n1 n 2
S
FNC
34
FNC
35
1
1
2
2
M
M
3
3
○
○
○
○
○
○
○
○
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S
n1
D
n2
SFTLP X0 M0 K16 K4
X21
S
M15
M14
M13
M12 M11
M10 M9 M8
M7
M6 M5
M4
M3
M2 M1
M0 X 3
X 2 X 1
X 0
SFTRP X0 M0 K16 K4
X20
S
D
n1 n2
D
n1
n2
S
M15
M14
M13
M12 M11
M10 M9 M8
M7
M6 M5
M4
M3
M2 M1
M0X 3
X 2 X 1
X 0
5
4
3
2
1
S
D
n1 n2
D
n1
n2
5
4
3
2
1
Operand
Devices
Bit Shift Right
Bit Shift Left
S occupies n2 components
D occupies n1 components
n1 = 1~1024 n2 = 1~n1
Move bits to the right
Move bits to the left
Components
which are
exceeding
the space of
Components
which are
exceeding
the space of
S : the device ID number of source header to be
moved in
D : the device ID number of the destination header
to be shifted
n1: data length to be shifted at the destination
n2: number of the bits in a shift
n2
Pick the continuous length bit devices destination which headed by and shift the destination to the right by
the length of , then use the number of source bit devices which headed by to ll in the vacancy.
When X20 = “OFF” → “ON”, the devices composed of M0~M15 (16 bits) will be moved 4 bits to the right, also the
status of X0~X3 will be moved into M12~M15 to ll in the vacancy of exceeding bits.
Pick the continuous length bit devices destination which headed by and shift the destination to the left by
the length of , then use the number of source bit devices which headed by to ll in the vacancy.
n2
When X21 = “OFF” → “ON”, the devices composed of M0~M15 (16 bits) will be moved 4 bits to the left, also the
status of X0~X3 will be moved into M0~M3 to ll in the vacancy of exceeding bits.
n2
n1
Length designated by
n1
n2
n1
Length designated by
n1