If I had:
00010101
And I wanted to check if the third bit, the one between the other 2 positive ones is positive, should I do a shift to the right, so it becomes the right most 1 bit, then do a shift to the left, so it becomes the left most 1 bit? Then shift, AGAIN, so it goes back to its original position, so i can use & on it?
>> 00000101
<< 10000000
>> 00000100
What im actually asking is: when the bit you want to check, is between other bits, should I handle it this way?