ABSTRACT

A shift (SHIFT) function moves the bits in a register to the right or to the left. In this case, the least significant bit (LSB) is shifted out as many numbers as specified by the number of shift. A shift left function is identical, except that the shift in bit, taken from the right, is moved in the opposite direction toward left, shifting out the most significant bit (MSB) as many numbers as specified by the number of shift. A rotate (ROTATE) function, like a shift function, shifts data to the right or left, but instead of losing the shift out bit, this bit becomes the shift in bit at the other end of the register (rotated bit) The number of rotation defines how many bits will be rotated to the right or left.