+ 5
what is Little Endian and Big Endian?
explanation need;)
2 Antworten
+ 11
Endianness refers to the order of bytes inside a memory.
Little endian stores most significant bytes in the higher memory address, while big endian stores most significant bytes in the lower memory address.
So, if you have this number, in hexadecimal
0x12345678
This is how it's stored inside the memory
Little endian:
Increasing memory address ---->
| 0x78 | 0x56 | 0x34 | 0x12 |
Big endian:
Increasing memory address ---->
| 0x12 | 0x34 | 0x56 | 0x78 |
You can refer to https://en.m.wikipedia.org/wiki/Endianness for more info
+ 5
wrongly tagged
it's related to Assembly language and not particularly C🙄