CPUs and architecture
Which correctly describes little-endian byte order?
- AData is compressed before being stored
- BMulti-byte data is stored starting with the least significant byte at the lowest address
- CMulti-byte data is stored starting with the most significant byte at the lowest address
Show answer and explanation
Answer: B. Multi-byte data is stored starting with the least significant byte at the lowest address
Little-endian stores 0x12345678 at increasing addresses as 78, 56, 34, 12. Because the low byte comes first, reading 8, 16 or 32 bits from the same address yields the low-order value, which also suits adders that work from the least significant digit. x86 and ARM (normally) use it. Big-endian is used in network protocols, so byte-order conversion is needed between differing systems.
- A. Endianness concerns storage order, not compression.
- B. Correct. The least significant byte goes at the lowest address.
- C. Storing the most significant byte first is big-endian.