Differences between current version and revision by previous author of Endianness.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Sunday, September 20, 2009 2:06:38 am | by AristotlePagaltzis | |
Older page: | version 3 | Last edited on Saturday, September 19, 2009 11:13:49 pm | by LawrenceDoliveiro | Revert |
@@ -1,8 +1,8 @@
''“There are 10 kinds of people in the world; those who know binary and those who don't.” – Seen on the net.''
<br> ''“There are 01 kinds of people who know binary; little-endians and everyone else.” – zcat(1)''
-The order of bytes in a word. The names “Big
-endian” and “little-endian” originate from the book “Gulliver’s Travels”, where a tribe of tiny people divide themselves into two factions in a ReligiousWar over which end they should cut their eggs open at – the big end, or the little end. In computer terms, big-endian [CPU]s store the most significant byte at the lowest byte address of a word and progress to less significant bytes at higher addresses, while little-endian machines start with the least significant byte and store progressively more significant ones. A [C] program demonstrates this:
+The order of bytes in a word. The names “big
-endian” and “little-endian” originate from the book “Gulliver’s Travels”, where a tribe of tiny people divide themselves into two factions in a ReligiousWar over which end they should cut their eggs open at – the big end, or the little end. In computer terms, big-endian [CPU]s store the most significant byte at the lowest byte address of a word and progress to less significant bytes at higher addresses, while little-endian machines start with the least significant byte and store progressively more significant ones. A [C] program demonstrates this:
<verbatim>
#include <stdio.h>
int main( void ) {