top of page
What is Little Endian?
1.12
Little what now? Dont worry, keep reading and you'll know a little more about it than you need to!
Info
What is little-endian?
Little-endian is a byte order where the least significant byte (LSB) of a multi-byte data type (like an integer) is stored at the lowest memory address, essentially reversing the natural numerical order
What does that mean?
Essentially it is just the reversal of the bytes for an address.
Example:
The address 123456 would be 12 34 56 separated into bytes, then 56 34 12 in little endian.
This is commonly used for calling ASM routines. For this use you will be calling the address +1
Example: The address 123456 +1 would be 123457. Separated into bytes would be 12 34 57, then 57 34 12 in little endian.
Happy Hacking!
bottom of page


