in reply to Re^4: Extracting Bit Fields (Again)
in thread Extracting Bit Fields (Again)
C doesn't have a rotate operator either.
The rotate operator takes the bits that are shifted out of the register and shifts then in from the other end.
Rotate 010...101 by 1 to to the right = 1010...10
Shift 010...101 by 1 to to the right = 0010...10
|
|---|