Difference between revisions of "Endianness"

From Data Crystal
Jump to: navigation, search
(Added lists for little and big edian systems.)
Line 1: Line 1:
 
'''Endianness''' or '''byte order''' is the order of [[Binary#Byte|bytes]] in a multi-[[Binary#Byte|byte]] value like a [[Binary#Word|word]]. Systems are ''usually'' referred to as either 'little endian', where the '''least significant byte''' (lsb) comes first, or 'big endian', where the '''most significant byte''' (msb) comes first.
 
'''Endianness''' or '''byte order''' is the order of [[Binary#Byte|bytes]] in a multi-[[Binary#Byte|byte]] value like a [[Binary#Word|word]]. Systems are ''usually'' referred to as either 'little endian', where the '''least significant byte''' (lsb) comes first, or 'big endian', where the '''most significant byte''' (msb) comes first.
  
The 6502 processor, used by the NES, expects addresses to be stored in 'little endian' order, with the least significant byte first and the most significant byte second.
+
{{moreinfo wikipedia|page=Endianness}}
  
{{moreinfo wikipedia|page=Endianness}}
+
==Little endian systems==
 +
* [[Nintendo Entertainment System]]
 +
* [[Super Nintendo]]
 +
 
 +
==Big endian systems==
  
 
{{stub}}
 
{{stub}}

Revision as of 00:30, 2 January 2006

Endianness or byte order is the order of bytes in a multi-byte value like a word. Systems are usually referred to as either 'little endian', where the least significant byte (lsb) comes first, or 'big endian', where the most significant byte (msb) comes first.

More non-ROM hacking specific information can be found at Wikipedia's Endianness article.

Little endian systems

Big endian systems