Basic Instructions
2 − 56
Cautions on shift input detection
With SR instructions, shift operation takes place when the off−on rise of the shift input is detected.
If the shift input remains continuously on, a shift will only take place at the rise. No further shifts will take place.
In cases where the shift input is initially on such as when the mode is changed to RUN or when the power is
turned on with the mode set to RUN, a shift operation will not take place at the first scan.
Shift input
Operation of
instruction
RUN
(Power: on)
ShiftsDoes not shift
When used in combination with instructions which change the order of instruction execution such as MC and
MCE or JP and LBL (see below), the operation of the instruction may change depending on the timing of
instruction execution and the shift input.
Exercise caution in these cases.
− MC to MCE instructions
− JP to LBL instructions
− F19 (SJP) to LBL instructions
− LOOP to LBL instructions
− CNDE instruction
− Step ladder instructions
− Subroutine instructions
Related instructions
In addition to the shift register instruction, there is also a left/right shift register (F119).
The same type of operation can also be implemented using a data shift instructions (F100 to F113) or a data
rotate instructions (F120 to F123).