Re:Ask HN: Why is the byte order little-endian, but the bit ...
by nemetroid on Tuesday July 06, 2021 @05:38PM
(#27754669)
> "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.
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.