Difference between revisions of "Endian"

From AMule Project FAQ
Jump to: navigation, search
 
Line 1: Line 1:
 
The endianess defines the way data is stored in physical memmory.
 
The endianess defines the way data is stored in physical memmory.
  
There are two standars:
+
There are two standards:
  
 
*[[Little endian]]
 
*[[Little endian]]
Line 8: Line 8:
 
Both are well-widely used and common.
 
Both are well-widely used and common.
  
Little endian requires the bytes with the numbers with lower weight to be placed first in memory.
+
[[Little endian]] requires the bytes with the numbers with lower weight to be placed first in memory.
  
Big endian requires the bytes with the numbers with higher weight to be placed first in memory.
+
[[Big endian]] requires the bytes with the numbers with higher weight to be placed first in memory.
 +
 
 +
Other endianness exist (such as middle-endian) but are mostly very old, outdated and non-standard.

Revision as of 22:40, 9 March 2005

The endianess defines the way data is stored in physical memmory.

There are two standards:

Both are well-widely used and common.

Little endian requires the bytes with the numbers with lower weight to be placed first in memory.

Big endian requires the bytes with the numbers with higher weight to be placed first in memory.

Other endianness exist (such as middle-endian) but are mostly very old, outdated and non-standard.