Endianness describes how the CPU represents and interprets data (i.e., numbers, addresses) in memory. There are two types of endianness: little-endian and big-endian.
Endianness Facts
- Only the byte-ordering is changed; bits within each byte are kept as is.
- Registers do not have the notion of endianness.
- Note that endianness does not affect how array elements are ordered, only how bytes within each element is ordered. Array elements are still ordered from low to high address.