CPUs and architecture

Which correctly describes little-endian byte order?

  1. AData is compressed before being stored
  2. BMulti-byte data is stored starting with the least significant byte at the lowest address
  3. 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.

Related calculators

Books on CPUs and architecture Ad

As an Amazon Associate I earn from qualifying purchases.

More CPUs and architecture questions

  1. Which technique lets one CPU core process instructions from multiple threads at the same time to make better use of the core's execution units?
  2. In microcontrollers and similar devices, which scheme assigns peripheral registers to the same address space as memory and operates them with ordinary memory read/write instructions?
  3. What is the role of the watchdog timer built into microcontrollers?
  4. When a program calls a subroutine (function), which area is generally used to temporarily save the return address and similar information?
  5. Which correctly lists the "three Cs" classification of cache misses?

Comparisons in this topic