Overview of Rotate Instructions
You can use the Rotate instructions to rotate the entire contents of input IN bit by bit to the left or to the right (see also CPU Registers). The vacated bit positions are filled with the signal states of the bits that are shifted out of input IN.
The number that you specify for input parameter N is the number of bits by which the value will be rotated.
Depending on the instruction, rotation uses the CC 1 bit of the status word. The
CC 0 bit of the status word is reset to 0.
The following Rotate instructions are available:
· ROL_DW : Rotate Left Double Word
· ROR_DW : Rotate Right Double Word
0 comments:
Post a Comment