Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
The little-endian convention is a type of addressing that refers to the order of data stored in memory. In this convention, the least significant bit (or "littlest" end) is first stored at address 0, and subsequent bits are stored incrementally.
Little-endian is the opposite of big-endian, which stores the most significant bit first. Because they are opposites, it is difficult to integrate two systems that use different endian conventions.
Memory addresses may be viewed incrementally from left to right, with the leftmost address being the first address: address 0. In a little-endian system, the least significant bit is stored in address 0, and subsequent data is stored to the right in incremental address locations. Thus, data or bits stay within the same address where they are stored - even when new data is added.
For example, if data "0 1 2 3 4, 0" is stored in address 0, and each digit represents an incremental address, then 4 would be stored at address 4. This format is more logical for humans because we read, write and do most things from the left. The opposite is true for big-endian. Because the most significant bit should always be stored in address 0, all previous stored data that is of lesser significance is moved to the right to a higher address location.