摘要 |
PURPOSE:To obtain a shift register which is deviced so as to shift an optional number of bits with a single clock of an instruction cycle. CONSTITUTION:The bit row terminals E1-Ek are set at H levels by a circuit 11 which validates the operations of switch groups of the number equal to the shift width if set at (k) for example. Thus (k) pieces of switch groups 1-k are validated. Then these groups 1-k are shifted to the right for a 1-bit shift when a terminal R/L showing the shift direction is set at an H level. Then the input data X0, X1-Xn are shifted by (k) bits and obtained at the output terminal of the switch group (k). The bits overflowed by the shift are rotated when a terminal R0 showing the rotation is set at an H level. |