I have a 32 bit number "3515261219" that really contains four 8 bit
numbers.
11010001 10000110 10100001 00100011
Is there a way to capture the bits that are shifted out of the number
when you right shift? If I can grab the bits this way I can right shift
8 bits and capture each number.
The other way I possibly see doing this is to right shift 24 which will
give the first number. Than left shift the original number 8 and than
right shift 24 and repeat. This would keep cycling each 8 bit number
to the left so that a 24 bit shift to the right would capture it.
Thoughts?
Amy.
|