Data Shift Instructions
3-9-21 SHIFT N-BITS LEFT: NASL(580)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
0
Shifts the specified 16 bits of word data to the left by the specified number of
bits.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
C: Control Word
15
12
11
C
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
Area
CIO Area
Work Area
Holding Bit Area
&2
&11
C: Starting from bit 2
N: 11 bits
NASL(580)
D
D: Shift word
C
C: Control word
Step program areas
Subroutines
OK
8
7
0
0
No. of bits to shift: 00 to 10 Hex
Always 0.
D
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
Section 3-9
NASL(580)
@NASL(580)
Not supported
Interrupt tasks
OK
C
345