A simple electronic logic circuit (or device) known as a shifter would simply move input bits to either the right or left to produce an output. If the input at A contained 010110102 and the shifter moved the bits one place to the left, the output, B would be 101101002. Simple.