Hi,
I have 4 numbers. I need to extract the first bit of each number and put them together to form a resulting binary number.
i.e. 12=00001100
100=01100100
4=00000100
5=00000101
So the first number I need would be 0001 and the second would be 0000 and so on. How would I go about implementing this in Handel-C or C.
Thanks
real
I have 4 numbers. I need to extract the first bit of each number and put them together to form a resulting binary number.
i.e. 12=00001100
100=01100100
4=00000100
5=00000101
So the first number I need would be 0001 and the second would be 0000 and so on. How would I go about implementing this in Handel-C or C.
Thanks
real