Friends, I need your help regarding to separate a byte into bits, for example:
Let b1 = %11001100
I want to have the next result
bit0 have to be 0
bit1 have to be 0
bit2 have to be 1
bit3 have to be 1
bit4 have to be 0
bit5 have to be 0
bit6 have to be 1
bit7 have to be 1
Could somebody tell me how to do it.
Thanks in advance.
Let b1 = %11001100
I want to have the next result
bit0 have to be 0
bit1 have to be 0
bit2 have to be 1
bit3 have to be 1
bit4 have to be 0
bit5 have to be 0
bit6 have to be 1
bit7 have to be 1
Could somebody tell me how to do it.
Thanks in advance.