390
Data Shift Instructions Section 3-9
If as a result of the shift the contents of the leftmost bit of Wd + 1 is 1, the Neg-
ative Flag will turn ON.
Note It is possible to set the Carry Flag contents to 1 or 0 immediately before exe-
cuting this instruction, by using the Set Carry (STC(040)) or Clear Carry
(CLC(041)) instructions.
Examples When CIO 000000 is ON, words CIO 0100 and CIO 0101 will shift one bit to
the right, (excluding the Carry Flag (CY)). The contents of CIO 010000 will be
shifted to CIO 010115.
3-9-17 ONE DIGIT SHIFT LEFT: SLD(074)
Purpose Shifts data by one digit (4 bits) to the left.
Ladder Symbol
Variations
Applicable Program Areas
Note St and E must be in the same data area.
Operand Specifications
Wd
Instruction executed once
Wd: CIO 0100Wd+1: CIO 0101
SLD(074)
E
St
St: Starting word
E: End word
Variations Executed Each Cycle for ON Condition SLD(074)
Executed Once for Upward Differentiation @SLD(074)
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
Area St E
CIO Area CIO 0000 to CIO 6143
Work Area W000 to W511
Holding Bit Area H000 to H511
Auxiliary Bit Area A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area without bank E00000 to E32767