Re: packed bits question
joy merwin monteiro <[email protected]>
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
Hi,
as Robert said, you could do the assembly equivalent of this macro:
#define GET_BIT(ptr,bitnum) ptr[(bitnum>>3)]>>(7-(bitnum%8))
Joy
--
Girls are like slugs.... You know they are around for a reason, but
you cant imagine what.
-- Calvin