EXwithRaj
asked on
Bit Manipulation
How to perform the following bit-operations:
a) Relocate a chunk of bits,from high-order to low or vice-versa,within the byte.
For ex.,from 00001111 to 11110000.
b) Remove a chunk of bits,from anywhere.
For ex.,from 1101111 01100100 11001000(7300296) remove 1101111.
c) Although I know the EQV & IMP bit-operators,I am not sure how to put it to good use.Any help?
a) Relocate a chunk of bits,from high-order to low or vice-versa,within the byte.
For ex.,from 00001111 to 11110000.
b) Remove a chunk of bits,from anywhere.
For ex.,from 1101111 01100100 11001000(7300296) remove 1101111.
c) Although I know the EQV & IMP bit-operators,I am not sure how to put it to good use.Any help?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.