He needs the spare bits since he's trying to implement rotate, <<= or >>= won't help in this case.
Type: Posts; User: rcgldr
He needs the spare bits since he's trying to implement rotate, <<= or >>= won't help in this case.
You should probably pick better names than high_byte and low_byte in the rotate left and right functions, since they are using integers, not bytes. Also the shift count you are using for "low_byte"...