Andrew Poelstra (in (e-mail address removed))
said:
||
|| The limitations of your experience are showing. The largest
|| publisher of computing documentation labels the left most bit as
|| bit 0.
|
| I know that; I did spent a year learning Intel assembly language.
| However, as far as quick C programs go, it's easiest to do the
| reverse. That way, bit 0 of a char will be the same as bit 0 of
| an int. (I'm assuming that sizeof (char) != sizeof(int) here).
I think Barry is referring to the NIH (Not Invented Here) maniacs who
seemed to think that calling the LSB "bit 0" was a bit too obvious -
so they chose a reversed bit numbering scheme that disassociated the
bit number from the power of two it represented.
On the other hand, they did gift the world with EBCDIC and a whole
assortment of other artful encoding creations.