Originally posted by Axl Rose:
I think the answer should be
0x1000051F
I followed the following way to derive the asnwer
0x800028FF is 1000 0000 0000 0000 0010 1000 1111 1111
this shifted >> 3 gives
0001 0000 0000 0000 0000 0101 0001 1111
which is
0x1000051F
Axl
Rose,
>> is a signed shift operator. Hence when we have 1 in MSB the newly added bits on the left should be 1's and so we get an F but not 1.
rajani