in reply to Re: Extracting Bit Fields (Again)
in thread Extracting Bit Fields (Again)
My fogged brain can now keep struggling away at this job...$D1 = ($intbuf & 0x80) ? 1 : 0; $D2 = ($intbuf >> 4) & 0x07; $D3 = ($intbuf & 0x0F);
Many, many thanks for all your help, folks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Extracting Bit Fields (Again)
by ikegami (Patriarch) on Oct 12, 2005 at 14:17 UTC | |
by ozboomer (Friar) on Oct 13, 2005 at 10:20 UTC | |
by ikegami (Patriarch) on Oct 13, 2005 at 13:17 UTC |