Reputation: 71
What is the difference between an 8-bit number in little-endian and an 8-bit number in big-endian on Intel 64 systems?
Upvotes: 2
Views: 1777
Reputation: 109557
I would like to mention that loading a single byte into a larger register, might apply the endianess to the register:
With little endianess the byte would maintain its numeric value. With big endianess in a 4 byte register it would be shifted << 24.
Though I know of no such instruction, being not familiar with intel.
Upvotes: 0
Reputation: 43738
There is no difference. A sequence of only one byte looks the same when read from left to right or right to left.
Upvotes: 5