<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bsccs.stoney-wiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Endianness%3A_Byte_Order_%26_Practice</id>
	<title>Endianness: Byte Order &amp; Practice - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://bsccs.stoney-wiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Endianness%3A_Byte_Order_%26_Practice"/>
	<link rel="alternate" type="text/html" href="https://bsccs.stoney-wiki.com/w/index.php?title=Endianness:_Byte_Order_%26_Practice&amp;action=history"/>
	<updated>2026-05-04T21:24:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://bsccs.stoney-wiki.com/w/index.php?title=Endianness:_Byte_Order_%26_Practice&amp;diff=62&amp;oldid=prev</id>
		<title>Bfh-sts: Created page with &quot;= Endianness: Byte Order &amp; Practice = This page explains endianness, the order in which bytes of a multi-byte value are stored or transmitted, and why it matters in computing.  == Word size and bytes == Modern computers usually have a word size of 32 or 64 bits.   If a value is larger than one byte, it must be split across multiple bytes.   The question is: which byte comes first when storing or transmitting the value?  == Big endian and little endian == * Big endian: th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://bsccs.stoney-wiki.com/w/index.php?title=Endianness:_Byte_Order_%26_Practice&amp;diff=62&amp;oldid=prev"/>
		<updated>2025-10-20T13:36:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Endianness: Byte Order &amp;amp; Practice = This page explains endianness, the order in which bytes of a multi-byte value are stored or transmitted, and why it matters in computing.  == Word size and bytes == Modern computers usually have a word size of 32 or 64 bits.   If a value is larger than one byte, it must be split across multiple bytes.   The question is: which byte comes first when storing or transmitting the value?  == Big endian and little endian == * Big endian: th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Endianness: Byte Order &amp;amp; Practice =&lt;br /&gt;
This page explains endianness, the order in which bytes of a multi-byte value are stored or transmitted, and why it matters in computing.&lt;br /&gt;
&lt;br /&gt;
== Word size and bytes ==&lt;br /&gt;
Modern computers usually have a word size of 32 or 64 bits.  &lt;br /&gt;
If a value is larger than one byte, it must be split across multiple bytes.  &lt;br /&gt;
The question is: which byte comes first when storing or transmitting the value?&lt;br /&gt;
&lt;br /&gt;
== Big endian and little endian ==&lt;br /&gt;
* Big endian: the most significant byte (MSB) comes first.  &lt;br /&gt;
  Example: 0x1A2B3C4D is stored as 1A 2B 3C 4D.  &lt;br /&gt;
* Little endian: the least significant byte (LSB) comes first.  &lt;br /&gt;
  Example: 0x1A2B3C4D is stored as 4D 3C 2B 1A.&lt;br /&gt;
&lt;br /&gt;
Both are valid systems. Writer and reader must agree, otherwise values are misinterpreted.&lt;br /&gt;
&lt;br /&gt;
== Origins of the terms ==&lt;br /&gt;
The terms big endian and little endian were coined in 1980 by Danny Cohen.  &lt;br /&gt;
They refer humorously to Jonathan Swift’s “Gulliver’s Travels,” where factions fought over which end of a boiled egg should be opened.&lt;br /&gt;
&lt;br /&gt;
== CPU architectures ==&lt;br /&gt;
* Intel x86: little endian.  &lt;br /&gt;
* SPARC, PowerPC, Motorola 680x0: big endian.  &lt;br /&gt;
* Some CPUs support both (e.g., ARM, Alpha, newer PowerPC).  &lt;br /&gt;
&lt;br /&gt;
== Protocols and file formats ==&lt;br /&gt;
* Most network protocols, including IP, use big endian.  &lt;br /&gt;
* File formats vary: PNG and JPEG are big endian, TIFF specifies its byte order in the header.&lt;br /&gt;
&lt;br /&gt;
== Practical example ==&lt;br /&gt;
Value: 0x12345678 (32-bit)  &lt;br /&gt;
&lt;br /&gt;
Big endian storage:  &lt;br /&gt;
12 34 56 78  &lt;br /&gt;
&lt;br /&gt;
Little endian storage:  &lt;br /&gt;
78 56 34 12  &lt;br /&gt;
&lt;br /&gt;
If interpreted incorrectly, the value will appear completely different.&lt;br /&gt;
&lt;br /&gt;
== No better system ==&lt;br /&gt;
Endianness is like writing direction in natural languages.  &lt;br /&gt;
Neither system is inherently better; consistency matters most.  &lt;br /&gt;
What matters is that both ends of communication use the same convention.&lt;br /&gt;
&lt;br /&gt;
[[Category:Numeral Systems]]&lt;/div&gt;</summary>
		<author><name>Bfh-sts</name></author>
	</entry>
</feed>