Difference between revisions of "Endianness"
Jump to navigation
Jump to search
Customfiber (talk | contribs) |
|||
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}} | ||
{{stub}} | {{stub}} |
Revision as of 06:10, 31 December 2005
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.
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.
More non-ROM hacking specific information can be found at Wikipedia's Endianness article.