And them with %11110000 for the 4 higher bits or and them with %00001111 for the for lower bits.
For the 4 higher bits you could shift them 4 times right to get them on the lower positions
And them with %11110000 for the 4 higher bits or and them with %00001111 for the for lower bits.
For the 4 higher bits you could shift them 4 times right to get them on the lower positions
Last edited by mat janssen; - 12th March 2010 at 11:37.
Bookmarks