On a big endian machine, the value 0xcafebabe would be stored sequentially in memory starting at address 0x100 as follows:
Address: 0x100 0x101 0x102 0x103
Value: ca fe ba be
The most significant byte (MSB) is stored at the lowest memory address (0x100), and the least significant byte (LSB) is stored at the highest memory address (0x103).
On a little endian machine, the value 0xcafebabe would be stored sequentially in memory starting at address 0x100 as follows:
Address: 0x100 0x101 0x102 0x103
Value: be ba fe ca
The least significant byte (LSB) is stored at the lowest memory address (0x100), and the most significant byte (MSB) is stored at the highest memory address (0x103).