3 ms·
I think you need to qualify in what sense bits are big endian. ”Bit 0” is reasonably the first one, and that usually refers to the least significant bit.
by nemetroid 5y ago
I think you need to qualify in what sense bits are big endian. ”Bit 0” is reasonably the first one, and that usually refers to the least significant bit.
- bruce343434 5y agoYes. In the same way that "byte 0" is the last byte in little endian, "bit 0" is the first bit in big endian.
- nemetroid 5y ago> "byte 0" is the last byte in little endian What do you mean by ”last byte” here? On a little endian machine, a two-byte integer stored at address x has its less significant byte at x+0, and its more significant byte at x+1. Going by those numbers, byte 0 is the least significant byte, much like bit 0 is the least significant bit.