2003-06-24 01:09 AM
2003-06-23 11:28 PM
I want to test a word of 8 bits , bit by bit but the problem I can't do this in C except if I use a masking .
but instead of changing my masking each time is what I a shift of bit can do on my masking ?2003-06-23 11:48 PM
while(some_condtion)
{ data >>= 1; if(data &0x01) func(); } Your problem is not much clear but hope this helps PraveenG2003-06-24 01:09 AM
oki thanks for the help !
http://www.freeadpower.org/~mrsmiles/kao/cactus/saboline_s.gif