309
Data Shift Instructions Section 3-8
3-8-21 SHIFT N-BITS LEFT: NASL(580)
Purpose Shifts the specified 16 bits of word data to the left by the specified number of
bits.
Ladder Symbol
Variations
Applicable Program Areas
Operands C: Control Word
Operand Specifications
NASL(580)
D
C
D: Shift word
C: Control word
Variations Executed Each Cycle for ON Condition NASL(580)
Executed Once for Upward Differentiation @NASL(580)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
15 8 011 712
C
0
No. of bits to shift: 00 to 10 Hex
Always 0.
Data shifted into register
0 Hex: 0 shifted in
8 Hex: Contents of rightmost bit shifted in
Area D C
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A448 to A959 A0 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants --- Specified values only
Data Registers DR0 to DR15