3 . I ns t r uc ti on Se t3- 9 5API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SE SX235 SFTL P Bit Shift LeftTypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F SFTL, SFTLP: 9 stepsS * * * *D * * *n1 * *n2 * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:S: Start No. of source device D: Start No. of destination device n 1: Length of data to beshifted n 2: Number of bits to be shifted as a groupExplanations:1. This instruction performs a left shift from source device of n 2 bits starting from S to destinationdevice of n 1 bits starting from D2. This instruction is generally used in pulse execution mode (SFTLP).3. Valid range of operand n1, n2 : 1≤ n2 ≤ n1 ≤1024Program Example:1. When X0 is rising edge triggered, SFTL instruction shifts X0~X4 into 16-bit data M0~M15 andM0~M15 also shift to the left with a group of 4 bits.2. The figure below illustrates the left shift of the bits in one scan M15~M12 → Carry M11~M8 → M15~M12 M7~M4 → M11~M8 M3~M0 → M7~M4 X3~X0 → M3~M0 completedX0SFTR X0 M0 K16 K4X3 X2 X1 X0M15 M14 M13 M12 M11 M10 M9 M8 M7 M6 M5 M4 M3 M2 M1 M01 2 3 454 bits in a group shift to the leftCarry