A shift register is a group of flip-flops (typically 4 or 8) that are arranged so that the values stored in the flip flops are shifted from one flip flop to the next for every clock. A shift register can be simulated by using four flip flops, as shown in the circuits below. Each flip flop stores a value from the input, which is either 1 or 0, depending on the upper switch. When he clock signal is 0 (because the flip flops are negative edge triggers), each flip flop gives their input to the next flip flop in line. In this way, the circuit holds four values at once that are each individually shifted anytime the clock signal is triggered.