
Thread
1994.09.20 00:03 "Re: TIFF Bit Ordering Versus Fill Order", by Joe Moss
#include <stdio.h>
struct HighLowBits {
unsigned int highbit: 1;
unsigned int lowbits: 7;
};I think this may do the trick. I'll have to verify it on a PC.
On a 486 based machine running SVR4, compiling with both the native cc and with gcc, the result is:
This is a LittleEndian machine
Byte with highbit set has value 1
--
Joe V. Moss | Hm: joe@italia.rain.com Wk: joe@morton.rain.com
Morton & Associates |--------------------------------------------------
7478 S.W. Coho Ct. | label .l -text "Insert cute quote here"
Tualatin, OR 97062 | button .b -text "OK" -command exit; pack .l .b