4 bit bidirectional shift register