A bit shift operation moves the bits contained in a binary numeral or bit pattern to the left or to the right.