383
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, word CIO 0100, CIO 0101 and the Carry Flag (CY)
will shift one bit to the right. The contents of CIO 010000 will be shifted to the
Carry Flag (CY) and the Carry Flag contents will be shifted to CIO 010115.
3-9-13 ROTATE LEFT WITHOUT CARRY: RLNC(574)
Purpose Shifts all Wd bits one bit to the left not including the Carry Flag (CY).
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Wd
Instruction executed once
Wd: CIO 0100Wd+1: CIO 0101
RLNC(574)
Wd: Word
Wd
Variations Executed Each Cycle for ON Condition RLNC(574)
Executed Once for Upward Differentiation @RLNC(574)
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 Wd
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
EM Area with bank En_00000 to En_32767
(n = 0 to C)