Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:multiasm:cs:chapter_3_11 [2026/02/27 00:58] – [Table] jtokarzen:multiasm:cs:chapter_3_11 [2026/03/29 18:24] (current) – [Endianness] ktokarz
Line 67: Line 67:
 <caption>Illustration of Little and Big Endian data placement in the memory</caption> <caption>Illustration of Little and Big Endian data placement in the memory</caption>
 </figure> </figure>
 +
 +Big-endian is mainly used in network protocols, where the most significant bytes are sent first. In modern processors, the dominant order of data placement in memory is little-endian, although some processors (including ARM) can support both modes. Big endian is more human intuitive, but little endian makes it possible to access the same data with different sizes at the same address. It is important for fast data type casting (for example, treating a 32-bit integer as a 16-bit integer) because the starting address doesn't change. Some processors support conversion between little- and big-endianness with special instructions.
en/multiasm/cs/chapter_3_11.1772146687.txt.gz · Last modified: by jtokarz
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0