1994.09.19 19:04 "Bit order revisited ...", by Scott Wagner
However, there are times when a MSB-to-LSB order is convenient for processing, especially on big-endian machines. There are other times when a LSB-to-MSB order is more convenient. These cases may be more frequent on little-endian machines, but not restricted to them.
Since big-endian or MSB-to-LSB bit order is most commonly used, and since this issue tends to create LOTS of confusion, I maintain that the preferred course is to read (and frown upon) LSB-to-MSB order, read (and prefer) MSB-to-LSB order, and ALWAYS write MSB-to-LSB order. When performance issues arise, choose best berformance for big-endian or MSB-to-LSB bit order, and take the hit on LSB-to-MSB order.
Scott Wagner (firstname.lastname@example.org)
Rochester, NY USA