38. Bitwise Rotation and Counting-I

Question.1

A developer performs a circular left rotation by 3 on an 8-bit register. The register currently holds 0xB1. He writes:

result = (reg << 3) | (reg >> 5);
result &= 0xFF;

What is the value of result?

Bit76543210
0xB110110001
Need Help? Refer to the Quick Guide below

Select Answer