CINXE.COM

Endianness - Wikipedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Endianness - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"17807d74-daf9-42e6-9a73-ad06b6cf7be1","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Endianness","wgTitle":"Endianness","wgCurRevisionId":1260361280,"wgRevisionId":1260361280,"wgArticleId":43026,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Articles with short description","Short description is different from Wikidata","Articles needing additional references from July 2020","All articles needing additional references","All articles with unsourced statements","Articles with unsourced statements from November 2023","All articles that may contain original research","Articles that may contain original research from November 2023","Pages displaying short descriptions of redirect targets via Module:Annotated link","Computer memory", "Data transmission","Metaphors","Software wars"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Endianness","wgRelevantArticleId":43026,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRedirectedFrom":"Byte_order","wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":40000,"wgInternalRedirectTargetUrl":"/wiki/Endianness","wgRelatedArticlesCompat":[],"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false, "wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q339338","wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","ext.cite.styles":"ready","ext.pygments":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","ext.cite.ux-enhancements", "ext.pygments.view","mediawiki.page.media","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.cx.uls.quick.actions","wikibase.client.vector-2022","ext.checkUser.clientHints","ext.quicksurveys.init","ext.growthExperiments.SuggestedEditSession"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.cite.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.6"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/4/43/Gullivers_travels.jpg"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="997"> <meta property="og:image" content="https://upload.wikimedia.org/wikipedia/commons/4/43/Gullivers_travels.jpg"> <meta property="og:image:width" content="800"> <meta property="og:image:height" content="664"> <meta property="og:image:width" content="640"> <meta property="og:image:height" content="532"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Endianness - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Endianness"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Endianness&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Endianness"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Endianness rootpage-Endianness skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?wmf_source=donate&amp;wmf_medium=sidebar&amp;wmf_campaign=en.wikipedia.org&amp;uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Endianness" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Endianness" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&amp;wmf_medium=sidebar&amp;wmf_campaign=en.wikipedia.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Endianness" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Endianness" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Characteristics" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Characteristics"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Characteristics</span> </div> </a> <button aria-controls="toc-Characteristics-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Characteristics subsection</span> </button> <ul id="toc-Characteristics-sublist" class="vector-toc-list"> <li id="toc-Numbers" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Numbers"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>Numbers</span> </div> </a> <ul id="toc-Numbers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Text" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Text"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>Text</span> </div> </a> <ul id="toc-Text-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Byte_addressing" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Byte_addressing"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>Byte addressing</span> </div> </a> <ul id="toc-Byte_addressing-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Byte_swapping" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Byte_swapping"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>Byte swapping</span> </div> </a> <ul id="toc-Byte_swapping-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Considerations" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Considerations"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Considerations</span> </div> </a> <button aria-controls="toc-Considerations-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Considerations subsection</span> </button> <ul id="toc-Considerations-sublist" class="vector-toc-list"> <li id="toc-Simplified_access_to_part_of_a_field" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Simplified_access_to_part_of_a_field"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Simplified access to part of a field</span> </div> </a> <ul id="toc-Simplified_access_to_part_of_a_field-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Calculation_order" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Calculation_order"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Calculation order</span> </div> </a> <ul id="toc-Calculation_order-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Hardware" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Hardware"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Hardware</span> </div> </a> <button aria-controls="toc-Hardware-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Hardware subsection</span> </button> <ul id="toc-Hardware-sublist" class="vector-toc-list"> <li id="toc-Bi-endianness" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Bi-endianness"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>Bi-endianness</span> </div> </a> <ul id="toc-Bi-endianness-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Floating_point" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Floating_point"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>Floating point</span> </div> </a> <ul id="toc-Floating_point-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Variable-length_data" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Variable-length_data"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>Variable-length data</span> </div> </a> <ul id="toc-Variable-length_data-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Middle-endian" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Middle-endian"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.4</span> <span>Middle-endian</span> </div> </a> <ul id="toc-Middle-endian-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Software" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Software"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Software</span> </div> </a> <button aria-controls="toc-Software-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Software subsection</span> </button> <ul id="toc-Software-sublist" class="vector-toc-list"> <li id="toc-Logic_design" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Logic_design"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.1</span> <span>Logic design</span> </div> </a> <ul id="toc-Logic_design-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Files_and_filesystems" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Files_and_filesystems"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.2</span> <span>Files and filesystems</span> </div> </a> <ul id="toc-Files_and_filesystems-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Networking" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Networking"> <div class="vector-toc-text"> <span class="vector-toc-numb">4.3</span> <span>Networking</span> </div> </a> <ul id="toc-Networking-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-References" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#References"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>References</span> </div> </a> <ul id="toc-References-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-External_links" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#External_links"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>External links</span> </div> </a> <ul id="toc-External_links-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">Endianness</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="Go to an article in another language. Available in 30 languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-30" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">30 languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-ar mw-list-item"><a href="https://ar.wikipedia.org/wiki/%D8%AA%D8%B1%D8%AA%D9%8A%D8%A8_%D8%A7%D9%84%D8%A8%D8%A7%D9%8A%D8%AA%D8%A7%D8%AA" title="ترتيب البايتات – Arabic" lang="ar" hreflang="ar" data-title="ترتيب البايتات" data-language-autonym="العربية" data-language-local-name="Arabic" class="interlanguage-link-target"><span>العربية</span></a></li><li class="interlanguage-link interwiki-az mw-list-item"><a href="https://az.wikipedia.org/wiki/K%C3%BCtuclular_%C3%BCsulu" title="Kütuclular üsulu – Azerbaijani" lang="az" hreflang="az" data-title="Kütuclular üsulu" data-language-autonym="Azərbaycanca" data-language-local-name="Azerbaijani" class="interlanguage-link-target"><span>Azərbaycanca</span></a></li><li class="interlanguage-link interwiki-ca mw-list-item"><a href="https://ca.wikipedia.org/wiki/Ordre_dels_bytes" title="Ordre dels bytes – Catalan" lang="ca" hreflang="ca" data-title="Ordre dels bytes" data-language-autonym="Català" data-language-local-name="Catalan" class="interlanguage-link-target"><span>Català</span></a></li><li class="interlanguage-link interwiki-cs mw-list-item"><a href="https://cs.wikipedia.org/wiki/Endianita" title="Endianita – Czech" lang="cs" hreflang="cs" data-title="Endianita" data-language-autonym="Čeština" data-language-local-name="Czech" class="interlanguage-link-target"><span>Čeština</span></a></li><li class="interlanguage-link interwiki-de mw-list-item"><a href="https://de.wikipedia.org/wiki/Byte-Reihenfolge" title="Byte-Reihenfolge – German" lang="de" hreflang="de" data-title="Byte-Reihenfolge" data-language-autonym="Deutsch" data-language-local-name="German" class="interlanguage-link-target"><span>Deutsch</span></a></li><li class="interlanguage-link interwiki-el mw-list-item"><a href="https://el.wikipedia.org/wiki/Endianness" title="Endianness – Greek" lang="el" hreflang="el" data-title="Endianness" data-language-autonym="Ελληνικά" data-language-local-name="Greek" class="interlanguage-link-target"><span>Ελληνικά</span></a></li><li class="interlanguage-link interwiki-es mw-list-item"><a href="https://es.wikipedia.org/wiki/Endianness" title="Endianness – Spanish" lang="es" hreflang="es" data-title="Endianness" data-language-autonym="Español" data-language-local-name="Spanish" class="interlanguage-link-target"><span>Español</span></a></li><li class="interlanguage-link interwiki-eo mw-list-item"><a href="https://eo.wikipedia.org/wiki/Bajta_vic-ordo" title="Bajta vic-ordo – Esperanto" lang="eo" hreflang="eo" data-title="Bajta vic-ordo" data-language-autonym="Esperanto" data-language-local-name="Esperanto" class="interlanguage-link-target"><span>Esperanto</span></a></li><li class="interlanguage-link interwiki-fa mw-list-item"><a href="https://fa.wikipedia.org/wiki/%D8%A7%D9%86%D8%AF%DB%8C%D8%A7%D9%86" title="اندیان – Persian" lang="fa" hreflang="fa" data-title="اندیان" data-language-autonym="فارسی" data-language-local-name="Persian" class="interlanguage-link-target"><span>فارسی</span></a></li><li class="interlanguage-link interwiki-fr mw-list-item"><a href="https://fr.wikipedia.org/wiki/Boutisme" title="Boutisme – French" lang="fr" hreflang="fr" data-title="Boutisme" data-language-autonym="Français" data-language-local-name="French" class="interlanguage-link-target"><span>Français</span></a></li><li class="interlanguage-link interwiki-ko mw-list-item"><a href="https://ko.wikipedia.org/wiki/%EC%97%94%EB%94%94%EC%96%B8" title="엔디언 – Korean" lang="ko" hreflang="ko" data-title="엔디언" data-language-autonym="한국어" data-language-local-name="Korean" class="interlanguage-link-target"><span>한국어</span></a></li><li class="interlanguage-link interwiki-id mw-list-item"><a href="https://id.wikipedia.org/wiki/Endian" title="Endian – Indonesian" lang="id" hreflang="id" data-title="Endian" data-language-autonym="Bahasa Indonesia" data-language-local-name="Indonesian" class="interlanguage-link-target"><span>Bahasa Indonesia</span></a></li><li class="interlanguage-link interwiki-it mw-list-item"><a href="https://it.wikipedia.org/wiki/Ordine_dei_byte" title="Ordine dei byte – Italian" lang="it" hreflang="it" data-title="Ordine dei byte" data-language-autonym="Italiano" data-language-local-name="Italian" class="interlanguage-link-target"><span>Italiano</span></a></li><li class="interlanguage-link interwiki-he mw-list-item"><a href="https://he.wikipedia.org/wiki/%D7%A1%D7%93%D7%A8_%D7%91%D7%AA%D7%99%D7%9D" title="סדר בתים – Hebrew" lang="he" hreflang="he" data-title="סדר בתים" data-language-autonym="עברית" data-language-local-name="Hebrew" class="interlanguage-link-target"><span>עברית</span></a></li><li class="interlanguage-link interwiki-la mw-list-item"><a href="https://la.wikipedia.org/wiki/Endianness" title="Endianness – Latin" lang="la" hreflang="la" data-title="Endianness" data-language-autonym="Latina" data-language-local-name="Latin" class="interlanguage-link-target"><span>Latina</span></a></li><li class="interlanguage-link interwiki-lt mw-list-item"><a href="https://lt.wikipedia.org/wiki/Bait%C5%B3_seka_%C5%BEodyje" title="Baitų seka žodyje – Lithuanian" lang="lt" hreflang="lt" data-title="Baitų seka žodyje" data-language-autonym="Lietuvių" data-language-local-name="Lithuanian" class="interlanguage-link-target"><span>Lietuvių</span></a></li><li class="interlanguage-link interwiki-hu mw-list-item"><a href="https://hu.wikipedia.org/wiki/B%C3%A1jtsorrend" title="Bájtsorrend – Hungarian" lang="hu" hreflang="hu" data-title="Bájtsorrend" data-language-autonym="Magyar" data-language-local-name="Hungarian" class="interlanguage-link-target"><span>Magyar</span></a></li><li class="interlanguage-link interwiki-nl mw-list-item"><a href="https://nl.wikipedia.org/wiki/Endianness" title="Endianness – Dutch" lang="nl" hreflang="nl" data-title="Endianness" data-language-autonym="Nederlands" data-language-local-name="Dutch" class="interlanguage-link-target"><span>Nederlands</span></a></li><li class="interlanguage-link interwiki-ja mw-list-item"><a href="https://ja.wikipedia.org/wiki/%E3%82%A8%E3%83%B3%E3%83%87%E3%82%A3%E3%82%A2%E3%83%B3" title="エンディアン – Japanese" lang="ja" hreflang="ja" data-title="エンディアン" data-language-autonym="日本語" data-language-local-name="Japanese" class="interlanguage-link-target"><span>日本語</span></a></li><li class="interlanguage-link interwiki-no mw-list-item"><a href="https://no.wikipedia.org/wiki/Endian" title="Endian – Norwegian Bokmål" lang="nb" hreflang="nb" data-title="Endian" data-language-autonym="Norsk bokmål" data-language-local-name="Norwegian Bokmål" class="interlanguage-link-target"><span>Norsk bokmål</span></a></li><li class="interlanguage-link interwiki-pl mw-list-item"><a href="https://pl.wikipedia.org/wiki/Kolejno%C5%9B%C4%87_bajt%C3%B3w" title="Kolejność bajtów – Polish" lang="pl" hreflang="pl" data-title="Kolejność bajtów" data-language-autonym="Polski" data-language-local-name="Polish" class="interlanguage-link-target"><span>Polski</span></a></li><li class="interlanguage-link interwiki-pt mw-list-item"><a href="https://pt.wikipedia.org/wiki/Extremidade_(ordena%C3%A7%C3%A3o)" title="Extremidade (ordenação) – Portuguese" lang="pt" hreflang="pt" data-title="Extremidade (ordenação)" data-language-autonym="Português" data-language-local-name="Portuguese" class="interlanguage-link-target"><span>Português</span></a></li><li class="interlanguage-link interwiki-ru mw-list-item"><a href="https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D1%80%D1%8F%D0%B4%D0%BE%D0%BA_%D0%B1%D0%B0%D0%B9%D1%82%D0%BE%D0%B2" title="Порядок байтов – Russian" lang="ru" hreflang="ru" data-title="Порядок байтов" data-language-autonym="Русский" data-language-local-name="Russian" class="interlanguage-link-target"><span>Русский</span></a></li><li class="interlanguage-link interwiki-simple mw-list-item"><a href="https://simple.wikipedia.org/wiki/Endianness" title="Endianness – Simple English" lang="en-simple" hreflang="en-simple" data-title="Endianness" data-language-autonym="Simple English" data-language-local-name="Simple English" class="interlanguage-link-target"><span>Simple English</span></a></li><li class="interlanguage-link interwiki-sk mw-list-item"><a href="https://sk.wikipedia.org/wiki/Endianita" title="Endianita – Slovak" lang="sk" hreflang="sk" data-title="Endianita" data-language-autonym="Slovenčina" data-language-local-name="Slovak" class="interlanguage-link-target"><span>Slovenčina</span></a></li><li class="interlanguage-link interwiki-fi mw-list-item"><a href="https://fi.wikipedia.org/wiki/Tavuj%C3%A4rjestys" title="Tavujärjestys – Finnish" lang="fi" hreflang="fi" data-title="Tavujärjestys" data-language-autonym="Suomi" data-language-local-name="Finnish" class="interlanguage-link-target"><span>Suomi</span></a></li><li class="interlanguage-link interwiki-sv mw-list-item"><a href="https://sv.wikipedia.org/wiki/Endian" title="Endian – Swedish" lang="sv" hreflang="sv" data-title="Endian" data-language-autonym="Svenska" data-language-local-name="Swedish" class="interlanguage-link-target"><span>Svenska</span></a></li><li class="interlanguage-link interwiki-tr mw-list-item"><a href="https://tr.wikipedia.org/wiki/Endian" title="Endian – Turkish" lang="tr" hreflang="tr" data-title="Endian" data-language-autonym="Türkçe" data-language-local-name="Turkish" class="interlanguage-link-target"><span>Türkçe</span></a></li><li class="interlanguage-link interwiki-uk mw-list-item"><a href="https://uk.wikipedia.org/wiki/%D0%9F%D0%BE%D1%80%D1%8F%D0%B4%D0%BE%D0%BA_%D0%B1%D0%B0%D0%B9%D1%82%D1%96%D0%B2" title="Порядок байтів – Ukrainian" lang="uk" hreflang="uk" data-title="Порядок байтів" data-language-autonym="Українська" data-language-local-name="Ukrainian" class="interlanguage-link-target"><span>Українська</span></a></li><li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://zh.wikipedia.org/wiki/%E5%AD%97%E8%8A%82%E5%BA%8F" title="字节序 – Chinese" lang="zh" hreflang="zh" data-title="字节序" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-edit wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q339338#sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Endianness" title="View the content page [c]" accesskey="c"><span>Article</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Talk:Endianness" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Endianness"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Endianness&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Endianness&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Endianness"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Endianness&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Endianness&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Endianness" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Endianness" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Endianness&amp;oldid=1260361280" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Endianness&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&amp;page=Endianness&amp;id=1260361280&amp;wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlQ%C4%B1sald%C4%B1c%C4%B1s%C4%B1&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FEndianness"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrKodu&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FEndianness"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Endianness&amp;action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Endianness&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-commons mw-list-item"><a href="https://commons.wikimedia.org/wiki/Category:Endianness" hreflang="en"><span>Wikimedia Commons</span></a></li><li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q339338" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><span class="mw-redirectedfrom">(Redirected from <a href="/w/index.php?title=Byte_order&amp;redirect=no" class="mw-redirect" title="Byte order">Byte order</a>)</span></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><div class="shortdescription nomobile noexcerpt noprint searchaux" style="display:none">Order of bytes in a computer word</div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">"Big-endian" and "Little-endian" redirect here. For the conflicting ideologies in <i>Gulliver's Travels</i>, see <a href="/wiki/Lilliput_and_Blefuscu#History_and_politics" title="Lilliput and Blefuscu">Lilliput and Blefuscu §&#160;History and politics</a>.</div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">For the specific use of endianness in date formats, see <a href="/wiki/Calendar_date" title="Calendar date">Calendar date</a>.</div> <style data-mw-deduplicate="TemplateStyles:r1251242444">.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}</style><table class="box-More_citations_needed plainlinks metadata ambox ambox-content ambox-Refimprove" role="presentation"><tbody><tr><td class="mbox-image"><div class="mbox-image-div"><span typeof="mw:File"><a href="/wiki/File:Question_book-new.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/50px-Question_book-new.svg.png" decoding="async" width="50" height="39" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/75px-Question_book-new.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/9/99/Question_book-new.svg/100px-Question_book-new.svg.png 2x" data-file-width="512" data-file-height="399" /></a></span></div></td><td class="mbox-text"><div class="mbox-text-span">This article <b>needs additional citations for <a href="/wiki/Wikipedia:Verifiability" title="Wikipedia:Verifiability">verification</a></b>.<span class="hide-when-compact"> Please help <a href="/wiki/Special:EditPage/Endianness" title="Special:EditPage/Endianness">improve this article</a> by <a href="/wiki/Help:Referencing_for_beginners" title="Help:Referencing for beginners">adding citations to reliable sources</a>. Unsourced material may be challenged and removed.<br /><small><span class="plainlinks"><i>Find sources:</i>&#160;<a rel="nofollow" class="external text" href="https://www.google.com/search?as_eq=wikipedia&amp;q=%22Endianness%22">"Endianness"</a>&#160;–&#160;<a rel="nofollow" class="external text" href="https://www.google.com/search?tbm=nws&amp;q=%22Endianness%22+-wikipedia&amp;tbs=ar:1">news</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://www.google.com/search?&amp;q=%22Endianness%22&amp;tbs=bkt:s&amp;tbm=bks">newspapers</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://www.google.com/search?tbs=bks:1&amp;q=%22Endianness%22+-wikipedia">books</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://scholar.google.com/scholar?q=%22Endianness%22">scholar</a>&#160;<b>·</b> <a rel="nofollow" class="external text" href="https://www.jstor.org/action/doBasicSearch?Query=%22Endianness%22&amp;acc=on&amp;wc=on">JSTOR</a></span></small></span> <span class="date-container"><i>(<span class="date">July 2020</span>)</i></span><span class="hide-when-compact"><i> (<small><a href="/wiki/Help:Maintenance_template_removal" title="Help:Maintenance template removal">Learn how and when to remove this message</a></small>)</i></span></div></td></tr></tbody></table> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:Gullivers_travels.jpg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Gullivers_travels.jpg/220px-Gullivers_travels.jpg" decoding="async" width="220" height="183" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Gullivers_travels.jpg/330px-Gullivers_travels.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/4/43/Gullivers_travels.jpg/440px-Gullivers_travels.jpg 2x" data-file-width="602" data-file-height="500" /></a><figcaption><i><a href="/wiki/Gulliver%27s_Travels" title="Gulliver&#39;s Travels">Gulliver's Travels</a></i> by <a href="/wiki/Jonathan_Swift" title="Jonathan Swift">Jonathan Swift</a>, the novel from which the term was coined</figcaption></figure> <p>In <a href="/wiki/Computing" title="Computing">computing</a>, <b>endianness</b> is the order in which <a href="/wiki/Byte" title="Byte">bytes</a> within a <a href="/wiki/Word_(data_type)" class="mw-redirect" title="Word (data type)">word</a> of digital data are transmitted over a <a href="/wiki/Data_communication" title="Data communication">data communication</a> medium or <a href="/wiki/Memory_address" title="Memory address">addressed</a> (by rising addresses) in <a href="/wiki/Computer_memory" title="Computer memory">computer memory</a>, counting only byte <a href="/wiki/Bit_numbering#Bit_significance_and_indexing" title="Bit numbering">significance</a> compared to earliness. Endianness is primarily expressed as <b>big-endian</b> (BE) or <b>little-endian</b> (LE), terms introduced by <a href="/wiki/Danny_Cohen_(computer_scientist)" title="Danny Cohen (computer scientist)">Danny Cohen</a> into computer science for data ordering in an <a href="/wiki/Internet_Experiment_Note" title="Internet Experiment Note">Internet Experiment Note</a> published in 1980.<sup id="cite_ref-HOLY_1-0" class="reference"><a href="#cite_note-HOLY-1"><span class="cite-bracket">&#91;</span>1<span class="cite-bracket">&#93;</span></a></sup> The adjective <i>endian</i> has its origin in the writings of 18th century Anglo-Irish writer <a href="/wiki/Jonathan_Swift" title="Jonathan Swift">Jonathan Swift</a>. In the 1726 novel <i><a href="/wiki/Gulliver%27s_Travels" title="Gulliver&#39;s Travels">Gulliver's Travels</a></i>, he portrays the conflict between sects of Lilliputians divided into those breaking the shell of a <a href="/wiki/Boiled_egg" title="Boiled egg">boiled egg</a> from the big end or from the little end.<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">&#91;</span>2<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">&#91;</span>3<span class="cite-bracket">&#93;</span></a></sup> By analogy, a CPU may read a digital word big end first, or little end first. </p><p>Computers store information in various-sized groups of binary bits. Each group is assigned a number, called its <i>address</i>, that the computer uses to access that data. On most modern computers, the smallest data group with an address is eight bits long and is called a byte. Larger groups comprise two or more bytes, for example, a <a href="/wiki/32-bit" class="mw-redirect" title="32-bit">32-bit</a> word contains four bytes. There are two possible ways a computer could number the individual bytes in a larger group, starting at either end. Both types of endianness are in widespread use in digital electronic engineering. The initial choice of endianness of a new design is often arbitrary, but later technology revisions and updates perpetuate the existing endianness to maintain <a href="/wiki/Backward_compatibility" title="Backward compatibility">backward compatibility</a>. </p><p>A big-endian system stores the <a href="/wiki/Most_significant_byte" class="mw-redirect" title="Most significant byte">most significant byte</a> of a word at the smallest <a href="/wiki/Memory_address" title="Memory address">memory address</a> and the <a href="/wiki/Least_significant_byte" class="mw-redirect" title="Least significant byte">least significant byte</a> at the largest. A little-endian system, in contrast, stores the least-significant byte at the smallest address.<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">&#91;</span>4<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">&#91;</span>5<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">&#91;</span>6<span class="cite-bracket">&#93;</span></a></sup> Of the two, big-endian is thus closer to the way the digits of numbers are written left-to-right in English, comparing digits to bytes. <i>Bi-endianness</i> is a feature supported by numerous computer architectures that feature switchable endianness in data fetches and stores or for instruction fetches. Other orderings are generically called <i>middle-endian</i> or <i>mixed-endian</i>.<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">&#91;</span>7<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">&#91;</span>8<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">&#91;</span>9<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">&#91;</span>10<span class="cite-bracket">&#93;</span></a></sup> </p><p>Big-endianness is the dominant ordering in networking protocols, such as in the <a href="/wiki/Internet_protocol_suite" title="Internet protocol suite">Internet protocol suite</a>, where it is referred to as <i>network order</i>, transmitting the most significant byte first. Conversely, little-endianness is the dominant ordering for processor architectures (<a href="/wiki/X86" title="X86">x86</a>, most <a href="/wiki/ARM_architecture" class="mw-redirect" title="ARM architecture">ARM</a> implementations, base <a href="/wiki/RISC-V" title="RISC-V">RISC-V</a> implementations) and their associated memory. <a href="/wiki/File_format" title="File format">File formats</a> can use either ordering; some formats use a mixture of both or contain an indicator of which ordering is used throughout the file.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">&#91;</span>11<span class="cite-bracket">&#93;</span></a></sup> </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="Characteristics">Characteristics</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=1" title="Edit section: Characteristics"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <figure class="mw-default-size" typeof="mw:File/Thumb"><a href="/wiki/File:32bit-Endianess.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/32bit-Endianess.svg/440px-32bit-Endianess.svg.png" decoding="async" width="440" height="220" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/5d/32bit-Endianess.svg/660px-32bit-Endianess.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/5d/32bit-Endianess.svg/880px-32bit-Endianess.svg.png 2x" data-file-width="1000" data-file-height="500" /></a><figcaption>Diagram demonstrating big- versus little-endianness</figcaption></figure> <p><a href="/wiki/Computer_memory" title="Computer memory">Computer memory</a> consists of a sequence of storage cells (smallest <a href="/wiki/Address_space" title="Address space">addressable</a> units); in machines that support <a href="/wiki/Byte_addressing" title="Byte addressing">byte addressing</a>, those units are called <i><a href="/wiki/Byte" title="Byte">bytes</a></i>. Each byte is identified and accessed in hardware and software by its <a href="/wiki/Memory_address" title="Memory address">memory address</a>. If the total number of bytes in memory is <i>n</i>, then addresses are enumerated from 0 to <i>n</i>&#160;−&#160;1. </p><p>Computer programs often use data structures or <a href="/wiki/Field_(computer_science)" title="Field (computer science)">fields</a> that may consist of more data than can be stored in one byte. In the context of this article where its type cannot be arbitrarily complicated, a "field" consists of a consecutive sequence of bytes and represents a "simple data value" which – at least potentially – can be manipulated by <i>one</i> single <a href="/wiki/Instruction_set_architecture" title="Instruction set architecture">hardware instruction</a>. On most systems, the address of a multi-byte simple data value is the address of its first byte (the byte with the lowest address). There are exceptions to this rule – for example, the Add instruction of the <a href="/wiki/IBM_1401" title="IBM 1401">IBM 1401</a> addresses variable-length fields at their low-order (highest-addressed) position with their lengths being defined by a <a href="/wiki/Word_mark_(computer_hardware)" title="Word mark (computer hardware)">word mark</a> set at their high-order (lowest-addressed) position. When an operation such as addition is performed, the processor begins at the low-order positions at the high addresses of the two fields and works its way down to the high-order.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2023)">citation needed</span></a></i>&#93;</sup> </p><p>Another important attribute of a byte being part of a "field" is its "significance". These attributes of the parts of a field play an important role in the sequence the bytes are accessed by the computer hardware, more precisely: by the low-level algorithms contributing to the results of a computer instruction. </p> <div class="mw-heading mw-heading3"><h3 id="Numbers">Numbers</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=2" title="Edit section: Numbers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Positional_notation" title="Positional notation">Positional number systems</a> (mostly base 2, or less often base 10) are the predominant way of representing and particularly of manipulating <a href="/wiki/Integer_(computer_science)" title="Integer (computer science)">integer data</a> by computers. In pure form this is valid for moderate sized non-negative integers, e.g. of C data type <code><a href="/wiki/Data_type#Numeric_types" title="Data type">unsigned</a></code>. In such a number system, the <i>value</i> of a digit which it contributes to the whole number is determined not only by its value as a single digit, but also by the position it holds in the complete number, called its significance. These positions can be mapped to memory mainly in two ways:<sup id="cite_ref-TanenbaumAustin2012_12-0" class="reference"><a href="#cite_note-TanenbaumAustin2012-12"><span class="cite-bracket">&#91;</span>12<span class="cite-bracket">&#93;</span></a></sup> </p> <ul><li>Decreasing numeric significance with increasing memory addresses (or increasing time), known as <i>big-endian</i> and</li> <li>Increasing numeric significance with increasing memory addresses (or increasing time), known as <i>little-endian</i>.</li></ul> <p>In these expressions, the term "end" is meant as the extremity where the <i>big</i> resp. <i>little</i> significance is written <i>first</i>, namely where the field <i>starts</i>. </p><p>The integer data that are directly supported by the <a href="/wiki/Arithmetic_logic_unit" title="Arithmetic logic unit">computer hardware</a> have a fixed width of a low power of 2, e.g. 8 bits ≙ 1 byte, 16 bits ≙ 2 bytes, 32 bits ≙ 4 bytes, 64 bits ≙ 8 bytes, 128 bits ≙ 16 bytes. The low-level access sequence to the bytes of such a field depends on the operation to be performed. The least-significant byte is accessed first for <a href="/wiki/Addition" title="Addition">addition</a>, <a href="/wiki/Subtraction" title="Subtraction">subtraction</a> and <a href="/wiki/Multiplication" title="Multiplication">multiplication</a>. The most-significant byte is accessed first for <a href="/wiki/Division_(mathematics)" title="Division (mathematics)">division</a> and <a href="/wiki/Natural_number#Order" title="Natural number">comparison</a>. See <a href="#Calculation_order">§&#160;Calculation order</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Text">Text</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=3" title="Edit section: Text"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>When character (text) strings are to be compared with one another, e.g. in order to support some mechanism like <a href="/wiki/Sorting_algorithm" title="Sorting algorithm">sorting</a>, this is very frequently done <a href="/wiki/Lexicographically" class="mw-redirect" title="Lexicographically">lexicographically</a> where a single positional element (character) also has a positional value. Lexicographical comparison means almost everywhere: first character ranks highest – as in the telephone book. Almost all machines which can do this using a single instruction are big-endian or at least mixed-endian.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2023)">citation needed</span></a></i>&#93;</sup> </p><p>Integer numbers written as text are always represented most significant digit first in memory, which is similar to big-endian, independently of <a href="/wiki/Text_direction" class="mw-redirect" title="Text direction">text direction</a>. </p> <div class="mw-heading mw-heading3"><h3 id="Byte_addressing">Byte addressing</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=4" title="Edit section: Byte addressing"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">See also: <a href="/wiki/Byte_addressing" title="Byte addressing">Byte addressing</a></div> <p>When memory bytes are printed sequentially from left to right (e.g. in a <a href="/wiki/Hex_dump" title="Hex dump">hex dump</a>), little-endian representation of integers has the significance increasing from right to left. In other words, it appears backwards when visualized, which can be counter-intuitive. </p><p>This behavior arises, for example, in <a href="/wiki/FourCC" title="FourCC">FourCC</a> or similar techniques that involve packing characters into an integer, so that it becomes a sequence of specific characters in memory. For example, take the string "JOHN", stored in hexadecimal <a href="/wiki/ASCII" title="ASCII">ASCII</a>. On big-endian machines, the value appears left-to-right, coinciding with the correct string order for reading the result ("J O H N"). But on a little-endian machine, one would see "N H O J". Middle-endian machines complicate this even further; for example, on the <a href="/wiki/PDP-11" title="PDP-11">PDP-11</a>, the 32-bit value is stored as two 16-bit words "JO" "HN" in big-endian, with the characters in the 16-bit words being stored in little-endian, resulting in "O J N H".<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2023)">citation needed</span></a></i>&#93;</sup> </p> <div class="mw-heading mw-heading3"><h3 id="Byte_swapping">Byte swapping</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=5" title="Edit section: Byte swapping"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Byte-swapping consists of rearranging bytes to change endianness. Many compilers provide <a href="/wiki/Intrinsic_function" title="Intrinsic function">built-ins</a> that are likely to be compiled into native processor instructions (<code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">bswap</code>/<code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">movbe</code>), such as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">__builtin_bswap32</code>. Software interfaces for swapping include: </p> <ul><li>Standard <a href="#Networking">network endianness</a> functions (from/to BE, up to 32-bit).<sup id="cite_ref-13" class="reference"><a href="#cite_note-13"><span class="cite-bracket">&#91;</span>13<span class="cite-bracket">&#93;</span></a></sup> Windows has a 64-bit extension in <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">winsock2.h</code>.</li> <li>BSD and Glibc <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">endian.h</code> functions (from/to BE and LE, up to 64-bit).<sup id="cite_ref-14" class="reference"><a href="#cite_note-14"><span class="cite-bracket">&#91;</span>14<span class="cite-bracket">&#93;</span></a></sup></li> <li><a href="/wiki/MacOS" title="MacOS">macOS</a> <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">OSByteOrder.h</code> macros (from/to BE and LE, up to 64-bit).</li> <li>The <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">std::byteswap</code> function in <a href="/wiki/C%2B%2B23" title="C++23">C++23</a>.<sup id="cite_ref-15" class="reference"><a href="#cite_note-15"><span class="cite-bracket">&#91;</span>15<span class="cite-bracket">&#93;</span></a></sup></li></ul> <p>Some <a href="/wiki/CPU" class="mw-redirect" title="CPU">CPU</a> instruction sets provide native support for endian byte swapping, such as <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">bswap</code><sup id="cite_ref-16" class="reference"><a href="#cite_note-16"><span class="cite-bracket">&#91;</span>16<span class="cite-bracket">&#93;</span></a></sup> (<a href="/wiki/X86" title="X86">x86</a> — <a href="/wiki/Intel_80486" class="mw-redirect" title="Intel 80486">486</a> and later, <a href="/wiki/I960" class="mw-redirect" title="I960">i960</a> — i960Jx and later<sup id="cite_ref-17" class="reference"><a href="#cite_note-17"><span class="cite-bracket">&#91;</span>17<span class="cite-bracket">&#93;</span></a></sup>), and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">rev</code><sup id="cite_ref-18" class="reference"><a href="#cite_note-18"><span class="cite-bracket">&#91;</span>18<span class="cite-bracket">&#93;</span></a></sup> (<a href="/wiki/ARM_architecture" class="mw-redirect" title="ARM architecture">ARMv6</a> and later). </p><p>Some <a href="/wiki/Compiler" title="Compiler">compilers</a> have built-in facilities for byte swapping. For example, the <a href="/wiki/Intel" title="Intel">Intel</a> <a href="/wiki/Fortran" title="Fortran">Fortran</a> compiler supports the non-standard <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">CONVERT</code> specifier when opening a file, e.g.: <code class="nowrap mw-highlight mw-highlight-lang-fortran mw-content-ltr" style="" dir="ltr"><span class="k">OPEN</span><span class="p">(</span><span class="n">unit</span><span class="p">,</span><span class="w"> </span><span class="n">CONVERT</span><span class="o">=</span><span class="s1">&#39;BIG_ENDIAN&#39;</span><span class="p">,...)</span></code>. Other compilers have options for generating code that globally enables the conversion for all file IO operations. This permits the reuse of code on a system with the opposite endianness without code modification. </p> <div class="mw-heading mw-heading2"><h2 id="Considerations">Considerations</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=6" title="Edit section: Considerations"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Simplified_access_to_part_of_a_field">Simplified access to part of a field</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=7" title="Edit section: Simplified access to part of a field"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>On most systems, the address of a multi-byte value is the address of its first byte (the byte with the lowest address); little-endian systems of that type have the property that, for sufficiently low data values, the same value can be read from memory at different lengths without using different addresses (even when <a href="/wiki/Byte_alignment" class="mw-redirect" title="Byte alignment">alignment</a> restrictions are imposed). For example, a 32-bit memory location with content <code class="nowrap mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">4A 00 00 00</code> can be read at the same address as either <a href="/wiki/8-bit" class="mw-redirect" title="8-bit">8-bit</a> (value = 4A), <a href="/wiki/16-bit" class="mw-redirect" title="16-bit">16-bit</a> (004A), <a href="/wiki/24-bit" class="mw-redirect" title="24-bit">24-bit</a> (00004A), or <a href="/wiki/32-bit" class="mw-redirect" title="32-bit">32-bit</a> (0000004A), all of which retain the same numeric value. Although this little-endian property is rarely used directly by high-level programmers, it is occasionally employed by code optimizers as well as by <a href="/wiki/Assembly_language" title="Assembly language">assembly language</a> programmers. While not allowed by C++, such <a href="/wiki/Type_punning" title="Type punning">type punning</a> code is allowed as "implementation-defined" by the C11 standard<sup id="cite_ref-19" class="reference"><a href="#cite_note-19"><span class="cite-bracket">&#91;</span>19<span class="cite-bracket">&#93;</span></a></sup> and commonly used<sup id="cite_ref-20" class="reference"><a href="#cite_note-20"><span class="cite-bracket">&#91;</span>20<span class="cite-bracket">&#93;</span></a></sup> in code interacting with hardware.<sup id="cite_ref-21" class="reference"><a href="#cite_note-21"><span class="cite-bracket">&#91;</span>21<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Calculation_order">Calculation order</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=8" title="Edit section: Calculation order"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Some operations in <a href="/wiki/Positional_number_system" class="mw-redirect" title="Positional number system">positional number systems</a> have a natural or preferred order in which the elementary steps are to be executed. This order may affect their performance on small-scale byte-addressable processors and <a href="/wiki/Microcontroller" title="Microcontroller">microcontrollers</a>. However, high-performance processors usually fetch multi-byte operands from memory in the same amount of time they would have fetched a single byte, so the complexity of the hardware is not affected by the byte ordering. </p><p>Addition, subtraction, and multiplication start at the least significant digit position and <a href="/wiki/Adder_(electronics)" title="Adder (electronics)">propagate the carry</a> to the subsequent more significant position. On most systems, the address of a multi-byte value is the address of its first byte (the byte with the lowest address). The implementation of these operations is marginally simpler using little-endian machines where this first byte contains the least significant digit. </p><p>Comparison and division start at the most significant digit and propagate a possible carry to the subsequent less significant digits. For fixed-length numerical values (typically of length 1,2,4,8,16), the implementation of these operations is marginally simpler on big-endian machines. </p><p>Some big-endian processors (e.g. the IBM System/360 and its successors) contain hardware instructions for lexicographically comparing varying length <a href="/wiki/Character_string" class="mw-redirect" title="Character string">character strings</a>. </p><p>The normal data transport by an <a href="/wiki/Assignment_(computer_science)" title="Assignment (computer science)">assignment</a> statement is in principle independent of the endianness of the processor. </p> <div class="mw-heading mw-heading2"><h2 id="Hardware">Hardware</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=9" title="Edit section: Hardware"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Many historical and extant processors use a big-endian memory representation, either exclusively or as a design option. The <a href="/wiki/IBM_System/360" title="IBM System/360">IBM System/360</a> uses big-endian byte order, as do its successors <a href="/wiki/System/370" class="mw-redirect" title="System/370">System/370</a>, <a href="/wiki/ESA/390" class="mw-redirect" title="ESA/390">ESA/390</a>, and <a href="/wiki/Z/Architecture" title="Z/Architecture">z/Architecture</a>. The <a href="/wiki/PDP-10" title="PDP-10">PDP-10</a> uses big-endian addressing for byte-oriented instructions. The <a href="/wiki/IBM_Series/1" title="IBM Series/1">IBM Series/1</a> minicomputer uses big-endian byte order. The Motorola <a href="/wiki/Motorola_6800" title="Motorola 6800">6800</a> / 6801, the <a href="/wiki/6809" class="mw-redirect" title="6809">6809</a> and the <a href="/wiki/68000_series" class="mw-redirect" title="68000 series">68000 series</a> of processors use the big-endian format. Solely big-endian architectures include the IBM z/Architecture and <a href="/wiki/OpenRISC" title="OpenRISC">OpenRISC</a>. The <a href="/wiki/PDP-11" title="PDP-11">PDP-11</a> minicomputer, however, uses little-endian byte order, as does its <a href="/wiki/VAX" title="VAX">VAX</a> successor. </p><p>The <a href="/wiki/Datapoint_2200" title="Datapoint 2200">Datapoint 2200</a> used simple bit-serial logic with little-endian to facilitate <a href="/wiki/Carry_propagation" class="mw-redirect" title="Carry propagation">carry propagation</a>. When Intel developed the <a href="/wiki/8008" class="mw-redirect" title="8008">8008</a> microprocessor for Datapoint, they used little-endian for compatibility. However, as Intel was unable to deliver the 8008 in time, Datapoint used a <a href="/wiki/Medium-scale_integration" class="mw-redirect" title="Medium-scale integration">medium-scale integration</a> equivalent, but the little-endianness was retained in most Intel designs, including the <a href="/wiki/MCS-48" class="mw-redirect" title="MCS-48">MCS-48</a> and the <a href="/wiki/8086" class="mw-redirect" title="8086">8086</a> and its <a href="/wiki/X86" title="X86">x86</a> successors, including <a href="/wiki/IA-32" title="IA-32">IA-32</a> and <a href="/wiki/X86-64" title="X86-64">x86-64</a> processors.<sup id="cite_ref-22" class="reference"><a href="#cite_note-22"><span class="cite-bracket">&#91;</span>22<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-Lunde2009_23-0" class="reference"><a href="#cite_note-Lunde2009-23"><span class="cite-bracket">&#91;</span>23<span class="cite-bracket">&#93;</span></a></sup> The <a href="/wiki/MOS_Technology_6502" title="MOS Technology 6502">MOS Technology 6502</a> family (including <a href="/wiki/Western_Design_Center" title="Western Design Center">Western Design Center</a> <a href="/wiki/65802" class="mw-redirect" title="65802">65802</a> and <a href="/wiki/65C816" class="mw-redirect" title="65C816">65C816</a>), the Zilog <a href="/wiki/Z80" class="mw-redirect" title="Z80">Z80</a> (including <a href="/wiki/Z180" class="mw-redirect" title="Z180">Z180</a> and <a href="/wiki/EZ80" class="mw-redirect" title="EZ80">eZ80</a>), the <a href="/wiki/Altera" title="Altera">Altera</a> <a href="/wiki/Nios_II" title="Nios II">Nios II</a>, the <a href="/wiki/Atmel_AVR" class="mw-redirect" title="Atmel AVR">Atmel AVR</a>, the <a href="/wiki/Andes_Technology" title="Andes Technology">Andes Technology</a> NDS32, the <a href="/wiki/Qualcomm_Hexagon" title="Qualcomm Hexagon">Qualcomm Hexagon</a>, and many other processors and processor families are also little-endian. </p><p>The Intel <a href="/wiki/8051" class="mw-redirect" title="8051">8051</a>, unlike other Intel processors, expects 16-bit addresses for LJMP and LCALL in big-endian format; however, xCALL instructions store the return address onto the stack in little-endian format.<sup id="cite_ref-24" class="reference"><a href="#cite_note-24"><span class="cite-bracket">&#91;</span>24<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Bi-endianness">Bi-endianness</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=10" title="Edit section: Bi-endianness"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Some instruction set architectures feature a setting which allows for switchable endianness in data fetches and stores, instruction fetches, or both; those instruction set architectures are referred to as <i>bi-endian</i>. Architectures that support switchable endianness include <a href="/wiki/PowerPC" title="PowerPC">PowerPC</a>/<a href="/wiki/Power_ISA" title="Power ISA">Power ISA</a>, <a href="/wiki/SPARC" title="SPARC">SPARC</a> V9, <a href="/wiki/ARM_architecture" class="mw-redirect" title="ARM architecture">ARM</a> versions 3 and above, <a href="/wiki/DEC_Alpha" title="DEC Alpha">DEC Alpha</a>, <a href="/wiki/MIPS_architecture" title="MIPS architecture">MIPS</a>, <a href="/wiki/Intel_i860" title="Intel i860">Intel i860</a>, <a href="/wiki/PA-RISC" title="PA-RISC">PA-RISC</a>, <a href="/wiki/SuperH" title="SuperH">SuperH SH-4</a>, <a href="/wiki/IA-64" title="IA-64">IA-64</a>, <a href="/w/index.php?title=C-Sky&amp;action=edit&amp;redlink=1" class="new" title="C-Sky (page does not exist)">C-Sky</a>, and <a href="/wiki/RISC-V" title="RISC-V">RISC-V</a>. This feature can improve performance or simplify the logic of networking devices and software. The word <i>bi-endian</i>, when said of hardware, denotes the capability of the machine to compute or pass data in either endian format. </p><p>Many of these architectures can be switched via software to default to a specific endian format (usually done when the computer starts up); however, on some systems, the default endianness is selected by hardware on the motherboard and cannot be changed via software (e.g. Alpha, which runs only in big-endian mode on the <a href="/wiki/Cray_T3E" title="Cray T3E">Cray T3E</a>). </p><p><a href="/wiki/IBM_AIX" title="IBM AIX">IBM AIX</a> and <a href="/wiki/IBM_i" title="IBM i">IBM i</a> run in big-endian mode on bi-endian Power ISA; <a href="/wiki/Linux" title="Linux">Linux</a> originally ran in big-endian mode, but by 2019, IBM had transitioned to little-endian mode for Linux to ease the porting of Linux software from x86 to Power.<sup id="cite_ref-25" class="reference"><a href="#cite_note-25"><span class="cite-bracket">&#91;</span>25<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-26" class="reference"><a href="#cite_note-26"><span class="cite-bracket">&#91;</span>26<span class="cite-bracket">&#93;</span></a></sup> SPARC has no relevant little-endian deployment, as both <a href="/wiki/Oracle_Solaris" title="Oracle Solaris">Oracle Solaris</a> and Linux run in big-endian mode on bi-endian SPARC systems, and can be considered big-endian in practice. ARM, C-Sky, and RISC-V have no relevant big-endian deployments, and can be considered little-endian in practice. </p><p>The term <i>bi-endian</i> refers primarily to how a processor treats data accesses. Instruction accesses (fetches of instruction words) on a given processor may still assume a fixed endianness, even if data accesses are fully bi-endian, though this is not always the case, such as on Intel's <a href="/wiki/IA-64" title="IA-64">IA-64</a>-based Itanium CPU, which allows both. </p><p>Some nominally bi-endian CPUs require motherboard help to fully switch endianness. For instance, the 32-bit desktop-oriented <a href="/wiki/PowerPC" title="PowerPC">PowerPC</a> processors in little-endian mode act as little-endian from the point of view of the executing programs, but they require the motherboard to perform a 64-bit swap across all 8 byte lanes to ensure that the little-endian view of things will apply to <a href="/wiki/I/O" class="mw-redirect" title="I/O">I/O</a> devices. In the absence of this unusual motherboard hardware, device driver software must write to different addresses to undo the incomplete transformation and also must perform a normal byte swap.<sup class="noprint Inline-Template" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:No_original_research" title="Wikipedia:No original research"><span title="The material near this tag possibly contains original research. (November 2023)">original research?</span></a></i>&#93;</sup> </p><p>Some CPUs, such as many PowerPC processors intended for embedded use and almost all SPARC processors, allow per-page choice of endianness. </p><p>SPARC processors since the late 1990s (SPARC v9 compliant processors) allow data endianness to be chosen with each individual instruction that loads from or stores to memory. </p><p>The <a href="/wiki/ARM_architecture" class="mw-redirect" title="ARM architecture">ARM architecture</a> supports two big-endian modes, called <i>BE-8</i> and <i>BE-32</i>.<sup id="cite_ref-27" class="reference"><a href="#cite_note-27"><span class="cite-bracket">&#91;</span>27<span class="cite-bracket">&#93;</span></a></sup> CPUs up to ARMv5 only support BE-32 or word-invariant mode. Here any naturally aligned 32-bit access works like in little-endian mode, but access to a byte or 16-bit word is redirected to the corresponding address and unaligned access is not allowed. ARMv6 introduces BE-8 or byte-invariant mode, where access to a single byte works as in little-endian mode, but accessing a 16-bit, 32-bit or (starting with ARMv8) 64-bit word results in a byte swap of the data. This simplifies unaligned memory access as well as memory-mapped access to registers other than 32-bit. </p><p>Many processors have instructions to convert a word in a register to the opposite endianness, that is, they swap the order of the bytes in a 16-, 32- or 64-bit word. </p><p>Recent Intel x86 and x86-64 architecture CPUs have a MOVBE instruction (<a href="/wiki/Intel_Core" title="Intel Core">Intel Core</a> since generation 4, after <a href="/wiki/Intel_Atom" title="Intel Atom">Atom</a>),<sup id="cite_ref-28" class="reference"><a href="#cite_note-28"><span class="cite-bracket">&#91;</span>28<span class="cite-bracket">&#93;</span></a></sup> which fetches a big-endian format word from memory or writes a word into memory in big-endian format. These processors are otherwise thoroughly little-endian. </p><p>There are also devices which use different formats in different places. For instance, the BQ27421 <a href="/wiki/Texas_Instruments" title="Texas Instruments">Texas Instruments</a> battery gauge uses the little-endian format for its registers and the big-endian format for its <a href="/wiki/Random-access_memory" title="Random-access memory">random-access memory</a>. </p><p><a href="/wiki/SPARC" title="SPARC">SPARC</a> historically used big-endian until version 9, which is bi-endian. Similarly early IBM POWER processors were big-endian, but the <a href="/wiki/PowerPC" title="PowerPC">PowerPC</a> and <a href="/wiki/Power_ISA" title="Power ISA">Power ISA</a> descendants are now bi-endian. The <a href="/wiki/ARM_architecture" class="mw-redirect" title="ARM architecture">ARM architecture</a> was little-endian before version 3 when it became bi-endian. </p> <div class="mw-heading mw-heading3"><h3 id="Floating_point">Floating point</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=11" title="Edit section: Floating point"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Although many processors use little-endian storage for all types of data (integer, floating point), there are a number of hardware architectures where <a href="/wiki/Floating-point" class="mw-redirect" title="Floating-point">floating-point</a> numbers are represented in big-endian form while integers are represented in little-endian form.<sup id="cite_ref-29" class="reference"><a href="#cite_note-29"><span class="cite-bracket">&#91;</span>29<span class="cite-bracket">&#93;</span></a></sup> There are <a href="/wiki/ARM_architecture" class="mw-redirect" title="ARM architecture">ARM</a> processors that have mixed-endian floating-point representation for double-precision numbers: each of the two 32-bit words is stored as little-endian, but the most significant word is stored first. <a href="/wiki/VAX" title="VAX">VAX</a> floating point stores little-endian 16-bit words in big-endian order. Because there have been many floating-point formats with no network standard representation for them, the <a href="/wiki/External_Data_Representation" title="External Data Representation">XDR</a> standard uses big-endian IEEE 754 as its representation. It may therefore appear strange that the widespread <a href="/wiki/IEEE_754" title="IEEE 754">IEEE 754</a> floating-point standard does not specify endianness.<sup id="cite_ref-30" class="reference"><a href="#cite_note-30"><span class="cite-bracket">&#91;</span>30<span class="cite-bracket">&#93;</span></a></sup> Theoretically, this means that even standard IEEE floating-point data written by one machine might not be readable by another. However, on modern standard computers (i.e., implementing IEEE 754), one may safely assume that the endianness is the same for floating-point numbers as for integers, making the conversion straightforward regardless of data type. Small <a href="/wiki/Embedded_system" title="Embedded system">embedded systems</a> using special floating-point formats may be another matter, however. </p> <div class="mw-heading mw-heading3"><h3 id="Variable-length_data">Variable-length data</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=12" title="Edit section: Variable-length data"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Most instructions considered so far contain the size (lengths) of their <a href="/wiki/Operand" title="Operand">operands</a> within the <a href="/wiki/Operation_code" class="mw-redirect" title="Operation code">operation code</a>. Frequently available operand lengths are 1, 2, 4, 8, or 16 bytes. But there are also architectures where the length of an operand may be held in a separate field of the instruction or with the operand itself, e.g. by means of a <a href="/wiki/Word_mark_(computer_hardware)" title="Word mark (computer hardware)">word mark</a>. Such an approach allows operand lengths up to 256 bytes or larger. The data types of such operands are character strings or <a href="/wiki/Binary-coded_decimal" title="Binary-coded decimal">BCD</a>. Machines able to manipulate such data with one instruction (e.g. compare, add) include the <a href="/wiki/IBM_1401" title="IBM 1401">IBM 1401</a>, <a href="/wiki/IBM_1410" title="IBM 1410">1410</a>, <a href="/wiki/IBM_1620" title="IBM 1620">1620</a>, <a href="/wiki/System/360" class="mw-redirect" title="System/360">System/360</a>, <a href="/wiki/System/370" class="mw-redirect" title="System/370">System/370</a>, <a href="/wiki/ESA/390" class="mw-redirect" title="ESA/390">ESA/390</a>, and <a href="/wiki/Z/Architecture" title="Z/Architecture">z/Architecture</a>, all of them of type big-endian. </p> <div class="mw-heading mw-heading3"><h3 id="Middle-endian">Middle-endian</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=13" title="Edit section: Middle-endian"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Numerous other orderings, generically called <i>middle-endian</i> or <i>mixed-endian</i>, are possible. </p><p>The <a href="/wiki/PDP-11" title="PDP-11">PDP-11</a> is in principle a 16-bit little-endian system. The instructions to convert between floating-point and integer values in the optional floating-point processor of the PDP-11/45, PDP-11/70, and in some later processors, stored 32-bit "double precision integer long" values with the 16-bit halves swapped from the expected little-endian order. The <a href="/wiki/UNIX" class="mw-redirect" title="UNIX">UNIX</a> <a href="/wiki/C_(programming_language)" title="C (programming language)">C</a> compiler used the same format for 32-bit long integers. This ordering is known as <i>PDP-endian</i>.<sup id="cite_ref-31" class="reference"><a href="#cite_note-31"><span class="cite-bracket">&#91;</span>31<span class="cite-bracket">&#93;</span></a></sup> </p><p>UNIX was one of the first systems to allow the same code to be compiled for platforms with different internal representations. One of the first programs converted was supposed to print out <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">Unix</code>, but on the Series/1 it printed <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">nUxi</code> instead.<sup id="cite_ref-32" class="reference"><a href="#cite_note-32"><span class="cite-bracket">&#91;</span>32<span class="cite-bracket">&#93;</span></a></sup> </p><p>A way to interpret this endianness is that it stores a 32-bit integer as two little-endian 16-bit words, with a big-endian word ordering: </p> <table class="wikitable"> <caption>Storage of a 32-bit integer, <kbd>0x0A0B0C0D</kbd>, on a PDP-11 </caption> <tbody><tr> <th scope="col">byte offset </th> <th scope="col">8-bit value </th> <th>16-bit little-endian value </th></tr> <tr> <th scope="row">0 </th> <td><kbd>0B<sub>h</sub></kbd> </td> <td rowspan="2"><kbd>0A0B<sub>h</sub></kbd> </td></tr> <tr> <th scope="row">1 </th> <td><kbd>0A<sub>h</sub></kbd> </td></tr> <tr> <th scope="row">2 </th> <td><kbd>0D<sub>h</sub></kbd> </td> <td rowspan="2"><kbd>0C0D<sub>h</sub></kbd> </td></tr> <tr> <th scope="row">3 </th> <td><kbd>0C<sub>h</sub></kbd> </td></tr></tbody></table> <p><a href="/wiki/Segment_descriptors" class="mw-redirect" title="Segment descriptors">Segment descriptors</a> of <a href="/wiki/IA-32" title="IA-32">IA-32</a> and compatible processors keep a 32-bit base address of the segment stored in little-endian order, but in four nonconsecutive bytes, at relative positions 2, 3, 4 and 7 of the descriptor start.<sup id="cite_ref-33" class="reference"><a href="#cite_note-33"><span class="cite-bracket">&#91;</span>33<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading2"><h2 id="Software">Software</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=14" title="Edit section: Software"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="Logic_design">Logic design</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=15" title="Edit section: Logic design"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><a href="/wiki/Hardware_description_language" title="Hardware description language">Hardware description languages</a> (HDLs) used to express digital logic often support arbitrary endianness, with arbitrary granularity. For example, in <a href="/wiki/SystemVerilog" title="SystemVerilog">SystemVerilog</a>, a word can be defined as little-endian or big-endian.<sup class="noprint Inline-Template Template-Fact" style="white-space:nowrap;">&#91;<i><a href="/wiki/Wikipedia:Citation_needed" title="Wikipedia:Citation needed"><span title="This claim needs references to reliable sources. (November 2023)">citation needed</span></a></i>&#93;</sup> </p> <div class="mw-heading mw-heading3"><h3 id="Files_and_filesystems">Files and filesystems</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=16" title="Edit section: Files and filesystems"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The recognition of endianness is important when reading a file or filesystem created on a computer with different endianness. </p><p>Fortran sequential unformatted files created with one endianness usually cannot be read on a system using the other endianness because Fortran usually implements a <a href="/wiki/Storage_record" title="Storage record">record</a> (defined as the data written by a single Fortran statement) as data preceded and succeeded by count fields, which are integers equal to the number of bytes in the data. An attempt to read such a file using Fortran on a system of the other endianness results in a run-time error, because the count fields are incorrect. </p><p><a href="/wiki/Unicode" title="Unicode">Unicode</a> text can optionally start with a <a href="/wiki/Byte_order_mark" title="Byte order mark">byte order mark</a> (BOM) to signal the endianness of the file or stream. Its code point is U+FEFF. In <a href="/wiki/UTF-32" title="UTF-32">UTF-32</a> for example, a big-endian file should start with <code class="nowrap mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">00 00 FE FF</code>; a little-endian should start with <code class="nowrap mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">FF FE 00 00</code>. </p><p>Application binary data formats, such as <a href="/wiki/MATLAB" title="MATLAB">MATLAB</a> <i>.mat</i> files, or the <i>.bil</i> data format, used in topography, are usually endianness-independent. This is achieved by storing the data always in one fixed endianness or carrying with the data a switch to indicate the endianness. An example of the former is the binary <a href="/wiki/XLS_file" class="mw-redirect" title="XLS file">XLS file</a> format that is portable between Windows and Mac systems and always little-endian, requiring the Mac application to swap the bytes on load and save when running on a big-endian Motorola 68K or PowerPC processor.<sup id="cite_ref-34" class="reference"><a href="#cite_note-34"><span class="cite-bracket">&#91;</span>34<span class="cite-bracket">&#93;</span></a></sup> </p><p><a href="/wiki/TIFF" title="TIFF">TIFF</a> image files are an example of the second strategy, whose header instructs the application about the endianness of their internal binary integers. If a file starts with the signature <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">MM</code> it means that integers are represented as big-endian, while <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">II</code> means little-endian. Those signatures need a single 16-bit word each, and they are <a href="/wiki/Palindrome" title="Palindrome">palindromes</a>, so they are endianness independent. <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">I</code> stands for <a href="/wiki/Intel" title="Intel">Intel</a> and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">M</code> stands for <a href="/wiki/Motorola" title="Motorola">Motorola</a>. Intel CPUs are little-endian, while Motorola 680x0 CPUs are big-endian. This explicit signature allows a TIFF reader program to swap bytes if necessary when a given file was generated by a TIFF writer program running on a computer with a different endianness. </p><p>As a consequence of its original implementation on the Intel 8080 platform, the operating system-independent <a href="/wiki/File_Allocation_Table" title="File Allocation Table">File Allocation Table</a> (FAT) file system is defined with little-endian byte ordering, even on platforms using another endianness natively, necessitating byte-swap operations for maintaining the FAT on these platforms. </p><p><a href="/wiki/ZFS" title="ZFS">ZFS</a>, which combines a <a href="/wiki/Filesystem" class="mw-redirect" title="Filesystem">filesystem</a> and a <a href="/wiki/Logical_volume_manager" class="mw-redirect" title="Logical volume manager">logical volume manager</a>, is known to provide adaptive endianness and to work with both big-endian and little-endian systems.<sup id="cite_ref-35" class="reference"><a href="#cite_note-35"><span class="cite-bracket">&#91;</span>35<span class="cite-bracket">&#93;</span></a></sup> </p> <div class="mw-heading mw-heading3"><h3 id="Networking">Networking</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=17" title="Edit section: Networking"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Many <a href="/wiki/IETF_RFC" class="mw-redirect" title="IETF RFC">IETF RFCs</a> use the term <i>network order</i>, meaning the order of transmission for bytes <i>over the wire</i> in <a href="/wiki/Network_protocols" class="mw-redirect" title="Network protocols">network protocols</a>. Among others, the historic <style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style>RFC&#160;<a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc1700">1700</a> defines the network order for protocols in the <a href="/wiki/Internet_protocol_suite" title="Internet protocol suite">Internet protocol suite</a> to be big-endian.<sup id="cite_ref-36" class="reference"><a href="#cite_note-36"><span class="cite-bracket">&#91;</span>36<span class="cite-bracket">&#93;</span></a></sup> </p><p>However, not all protocols use big-endian byte order as the network order. The <a href="/wiki/Server_Message_Block" title="Server Message Block">Server Message Block</a> (SMB) protocol uses little-endian byte order. In <a href="/wiki/CANopen" title="CANopen">CANopen</a>, multi-byte parameters are always sent <a href="/wiki/Least_significant_byte" class="mw-redirect" title="Least significant byte">least significant byte</a> first (little-endian). The same is true for <a href="/wiki/Ethernet_Powerlink" title="Ethernet Powerlink">Ethernet Powerlink</a>.<sup id="cite_ref-37" class="reference"><a href="#cite_note-37"><span class="cite-bracket">&#91;</span>37<span class="cite-bracket">&#93;</span></a></sup> </p><p>The <a href="/wiki/Berkeley_sockets" title="Berkeley sockets">Berkeley sockets</a> <a href="/wiki/API" title="API">API</a> defines a set of functions to convert 16- and 32-bit integers to and from network byte order: the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">htons</code> (host-to-network-short) and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">htonl</code> (host-to-network-long) functions convert 16- and 32-bit values respectively from machine (<i>host</i>) to network order; the <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ntohs</code> and <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">ntohl</code> functions convert from network to host order.<sup id="cite_ref-38" class="reference"><a href="#cite_note-38"><span class="cite-bracket">&#91;</span>38<span class="cite-bracket">&#93;</span></a></sup><sup id="cite_ref-39" class="reference"><a href="#cite_note-39"><span class="cite-bracket">&#91;</span>39<span class="cite-bracket">&#93;</span></a></sup> These functions may be a <a href="/wiki/No-op" class="mw-redirect" title="No-op">no-op</a> on a big-endian system. </p><p>While the high-level network protocols usually consider the byte (mostly meant as <i><a href="/wiki/Octet_(computing)" title="Octet (computing)">octet</a></i>) as their atomic unit, the lowest layers of a <a href="/wiki/Network_stack" class="mw-redirect" title="Network stack">network stack</a> may deal with ordering of bits within a byte. </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=18" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Bit_order" class="mw-redirect" title="Bit order">Bit order</a>&#160;– Convention to identify bit positions<span style="display:none" class="category-annotation-with-redirected-description">Pages displaying short descriptions of redirect targets</span></li></ul> <div class="mw-heading mw-heading2"><h2 id="References">References</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=19" title="Edit section: References"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1239543626">.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}</style><div class="reflist"> <div class="mw-references-wrap mw-references-columns"><ol class="references"> <li id="cite_note-HOLY-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-HOLY_1-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCohen1980" class="citation cs1"><a href="/wiki/Danny_Cohen_(computer_scientist)" title="Danny Cohen (computer scientist)">Cohen, Danny</a> (1980-04-01). <a rel="nofollow" class="external text" href="https://www.rfc-editor.org/ien/ien137.txt"><i>On Holy Wars and a Plea for Peace</i></a>. <a href="/wiki/IETF" class="mw-redirect" title="IETF">IETF</a>. IEN 137.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=On+Holy+Wars+and+a+Plea+for+Peace&amp;rft.pub=IETF&amp;rft.date=1980-04-01&amp;rft.aulast=Cohen&amp;rft.aufirst=Danny&amp;rft_id=https%3A%2F%2Fwww.rfc-editor.org%2Fien%2Fien137.txt&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span> Also published at <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCohen1981" class="citation journal cs1">Cohen, Danny (October 1981). <a rel="nofollow" class="external text" href="https://ieeexplore.ieee.org/document/1667115">"On Holy Wars and a Plea for Peace"</a>. <i>IEEE Computer</i>. <b>14</b> (10): 48–54. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1109%2FC-M.1981.220208">10.1109/C-M.1981.220208</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=IEEE+Computer&amp;rft.atitle=On+Holy+Wars+and+a+Plea+for+Peace&amp;rft.volume=14&amp;rft.issue=10&amp;rft.pages=48-54&amp;rft.date=1981-10&amp;rft_id=info%3Adoi%2F10.1109%2FC-M.1981.220208&amp;rft.aulast=Cohen&amp;rft.aufirst=Danny&amp;rft_id=https%3A%2F%2Fieeexplore.ieee.org%2Fdocument%2F1667115&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><b><a href="#cite_ref-2">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSwift1726" class="citation book cs1">Swift, Jonathan (1726). <a class="external text" href="https://en.wikisource.org/wiki/The_Works_of_the_Rev._Jonathan_Swift/Volume_6/A_Voyage_to_Lilliput/Chapter_4">"A Voyage to Lilliput, Chapter IV"</a>. <i>Gulliver's Travels</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20220920173204/https://en.wikisource.org/wiki/The_Works_of_the_Rev._Jonathan_Swift/Volume_6/A_Voyage_to_Lilliput/Chapter_4">Archived</a> from the original on 2022-09-20<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-09-20</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=A+Voyage+to+Lilliput%2C+Chapter+IV&amp;rft.btitle=Gulliver%27s+Travels&amp;rft.date=1726&amp;rft.aulast=Swift&amp;rft.aufirst=Jonathan&amp;rft_id=https%3A%2F%2Fen.wikisource.org%2Fwiki%2FThe_Works_of_the_Rev._Jonathan_Swift%2FVolume_6%2FA_Voyage_to_Lilliput%2FChapter_4&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-3"><span class="mw-cite-backlink"><b><a href="#cite_ref-3">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBryantDavid2016" class="citation cs2"><a href="/wiki/Randal_Bryant" title="Randal Bryant">Bryant, Randal E.</a>; David, O'Hallaron (2016), <i>Computer Systems: A Programmer's Perspective</i> (3&#160;ed.), Pearson Education, p.&#160;79, <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-1-488-67207-1" title="Special:BookSources/978-1-488-67207-1"><bdi>978-1-488-67207-1</bdi></a></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Computer+Systems%3A+A+Programmer%27s+Perspective&amp;rft.pages=79&amp;rft.edition=3&amp;rft.pub=Pearson+Education&amp;rft.date=2016&amp;rft.isbn=978-1-488-67207-1&amp;rft.aulast=Bryant&amp;rft.aufirst=Randal+E.&amp;rft.au=David%2C+O%27Hallaron&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/">"Understanding big and little endian byte order"</a>. <i>betterexplained.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20190524124000/https://betterexplained.com/articles/understanding-big-and-little-endian-byte-order/">Archived</a> from the original on 2019-05-24<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-05-20</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=betterexplained.com&amp;rft.atitle=Understanding+big+and+little+endian+byte+order&amp;rft_id=https%3A%2F%2Fbetterexplained.com%2Farticles%2Funderstanding-big-and-little-endian-byte-order%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-5">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/ByteOrdering.html#//apple_ref/doc/uid/20001150-CJBEJBHH">"Byte Ordering PPC"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20190509013855/https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/ByteOrdering.html#//apple_ref/doc/uid/20001150-CJBEJBHH">Archived</a> from the original on 2019-05-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-05-20</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Byte+Ordering+PPC&amp;rft_id=https%3A%2F%2Fdeveloper.apple.com%2Flibrary%2Farchive%2Fdocumentation%2FCoreFoundation%2FConceptual%2FCFMemoryMgmt%2FConcepts%2FByteOrdering.html%23%2F%2Fapple_ref%2Fdoc%2Fuid%2F20001150-CJBEJBHH&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://developer.ibm.com/articles/au-endianc/">"Writing endian-independent code in C"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20190610085733/https://developer.ibm.com/articles/au-endianc/">Archived</a> from the original on 2019-06-10<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-05-20</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Writing+endian-independent+code+in+C&amp;rft_id=https%3A%2F%2Fdeveloper.ibm.com%2Farticles%2Fau-endianc%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://internethalloffame.org/inductees/danny-cohen">"Internet Hall of Fame Pioneer"</a>. <i><a href="/wiki/Internet_Hall_of_Fame" title="Internet Hall of Fame">Internet Hall of Fame</a></i>. <a href="/wiki/The_Internet_Society" class="mw-redirect" title="The Internet Society">The Internet Society</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20210721114730/https://www.internethalloffame.org/inductees/danny-cohen">Archived</a> from the original on 2021-07-21<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-10-07</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=Internet+Hall+of+Fame&amp;rft.atitle=Internet+Hall+of+Fame+Pioneer&amp;rft_id=http%3A%2F%2Finternethalloffame.org%2Finductees%2Fdanny-cohen&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFCary" class="citation web cs1">Cary, David. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20171109112101/http://david.carybros.com/html/endian_faq.html">"Endian FAQ"</a>. Archived from <a rel="nofollow" class="external text" href="http://david.carybros.com/html/endian_faq.html">the original</a> on 2017-11-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2010-10-11</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Endian+FAQ&amp;rft.aulast=Cary&amp;rft.aufirst=David&amp;rft_id=http%3A%2F%2Fdavid.carybros.com%2Fhtml%2Fendian_faq.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFJames1990" class="citation journal cs1">James, David V. (June 1990). "Multiplexed buses: the endian wars continue". <i><a href="/wiki/IEEE_Micro" title="IEEE Micro">IEEE Micro</a></i>. <b>10</b> (3): 9–21. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1109%2F40.56322">10.1109/40.56322</a>. <a href="/wiki/ISSN_(identifier)" class="mw-redirect" title="ISSN (identifier)">ISSN</a>&#160;<a rel="nofollow" class="external text" href="https://search.worldcat.org/issn/0272-1732">0272-1732</a>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:24291134">24291134</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=IEEE+Micro&amp;rft.atitle=Multiplexed+buses%3A+the+endian+wars+continue&amp;rft.volume=10&amp;rft.issue=3&amp;rft.pages=9-21&amp;rft.date=1990-06&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A24291134%23id-name%3DS2CID&amp;rft.issn=0272-1732&amp;rft_id=info%3Adoi%2F10.1109%2F40.56322&amp;rft.aulast=James&amp;rft.aufirst=David+V.&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFBlancMaaraoui2005" class="citation web cs1">Blanc, Bertrand; Maaraoui, Bob (December 2005). <a rel="nofollow" class="external text" href="http://3bc.bertrand-blanc.com/endianness05.pdf">"Endianness or Where is Byte 0?"</a> <span class="cs1-format">(PDF)</span>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20071203190220/http://3bc.bertrand-blanc.com/endianness05.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2007-12-03<span class="reference-accessdate">. Retrieved <span class="nowrap">2008-12-21</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Endianness+or+Where+is+Byte+0%3F&amp;rft.date=2005-12&amp;rft.aulast=Blanc&amp;rft.aufirst=Bertrand&amp;rft.au=Maaraoui%2C+Bob&amp;rft_id=http%3A%2F%2F3bc.bertrand-blanc.com%2Fendianness05.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation cs1"><a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc1314#page-7"><i>A File Format for the Exchange of Images in the Internet</i></a>. April 1992. p.&#160;7. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.17487%2FRFC1314">10.17487/RFC1314</a></span>. <a href="/wiki/Request_for_Comments" title="Request for Comments">RFC</a> <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc1314">1314</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2021-08-16</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=A+File+Format+for+the+Exchange+of+Images+in+the+Internet&amp;rft.pages=p.-7&amp;rft.date=1992-04&amp;rft_id=info%3Adoi%2F10.17487%2F&#82;FC1314&amp;rft_id=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc1314%26%23035%3Bpage-7&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-TanenbaumAustin2012-12"><span class="mw-cite-backlink"><b><a href="#cite_ref-TanenbaumAustin2012_12-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFTanenbaumAustin2012" class="citation book cs1">Tanenbaum, Andrew S.; Austin, Todd M. (4 August 2012). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=m0HHygAACAAJ"><i>Structured Computer Organization</i></a>. Prentice Hall PTR. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-13-291652-3" title="Special:BookSources/978-0-13-291652-3"><bdi>978-0-13-291652-3</bdi></a><span class="reference-accessdate">. Retrieved <span class="nowrap">18 May</span> 2013</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Structured+Computer+Organization&amp;rft.pub=Prentice+Hall+PTR&amp;rft.date=2012-08-04&amp;rft.isbn=978-0-13-291652-3&amp;rft.aulast=Tanenbaum&amp;rft.aufirst=Andrew+S.&amp;rft.au=Austin%2C+Todd+M.&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3Dm0HHygAACAAJ&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-13"><span class="mw-cite-backlink"><b><a href="#cite_ref-13">^</a></b></span> <span class="reference-text"><span class="plainlinksneverexpand"><code><a rel="nofollow" class="external text" href="https://manned.org/byteorder.3">byteorder(3)</a></code></span>&#160;–&#160;<a href="/wiki/Linux" title="Linux">Linux</a> Programmer's <a href="/wiki/Man_page" title="Man page">Manual</a> – Library Functions</span> </li> <li id="cite_note-14"><span class="mw-cite-backlink"><b><a href="#cite_ref-14">^</a></b></span> <span class="reference-text"><span class="plainlinksneverexpand"><code><a rel="nofollow" class="external text" href="https://manned.org/endian.3">endian(3)</a></code></span>&#160;–&#160;<a href="/wiki/Linux" title="Linux">Linux</a> Programmer's <a href="/wiki/Man_page" title="Man page">Manual</a> – Library Functions</span> </li> <li id="cite_note-15"><span class="mw-cite-backlink"><b><a href="#cite_ref-15">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://en.cppreference.com/w/cpp/numeric/byteswap">"std::byteswap"</a>. <i>en.cppreference.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20231120095109/https://en.cppreference.com/w/cpp/numeric/byteswap">Archived</a> from the original on 20 November 2023<span class="reference-accessdate">. Retrieved <span class="nowrap">3 October</span> 2023</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=en.cppreference.com&amp;rft.atitle=std%3A%3Abyteswap&amp;rft_id=https%3A%2F%2Fen.cppreference.com%2Fw%2Fcpp%2Fnumeric%2Fbyteswap&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-16"><span class="mw-cite-backlink"><b><a href="#cite_ref-16">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf">"Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B &amp; 2C): Instruction Set Reference, A-Z"</a> <span class="cs1-format">(PDF)</span>. Intel. September 2016. p. 3–112. <a rel="nofollow" class="external text" href="https://ghostarchive.org/archive/20221009/http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2022-10-09<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-02-05</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Intel+64+and+IA-32+Architectures+Software+Developer%27s+Manual+Volume+2+%282A%2C+2B+%26+2C%29%3A+Instruction+Set+Reference%2C+A-Z&amp;rft.pages=p.+3-112&amp;rft.pub=Intel&amp;rft.date=2016-09&amp;rft_id=http%3A%2F%2Fwww.intel.com%2Fcontent%2Fdam%2Fwww%2Fpublic%2Fus%2Fen%2Fdocuments%2Fmanuals%2F64-ia-32-architectures-software-developer-instruction-set-reference-manual-325383.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-17"><span class="mw-cite-backlink"><b><a href="#cite_ref-17">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://datasheets.chipdb.org/Intel/80960/manuals/27317301.PDF">"i960® VH Processor Developer's Manual"</a> <span class="cs1-format">(PDF)</span>. Intel. October 1998. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20240402165236/https://datasheets.chipdb.org/Intel/80960/manuals/27317301.PDF">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2024-04-02<span class="reference-accessdate">. Retrieved <span class="nowrap">2024-04-02</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=i960%C2%AE+VH+Processor+Developer%27s+Manual&amp;rft.pub=Intel&amp;rft.date=1998-10&amp;rft_id=https%3A%2F%2Fdatasheets.chipdb.org%2FIntel%2F80960%2Fmanuals%2F27317301.PDF&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-18"><span class="mw-cite-backlink"><b><a href="#cite_ref-18">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://infocenter.arm.com/help/topic/com.arm.doc.ddi0487a.k_10775/index.html">"ARMv8-A Reference Manual"</a>. <a href="/wiki/ARM_Holdings" class="mw-redirect" title="ARM Holdings">ARM Holdings</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20190119214452/http://infocenter.arm.com/help/topic/com.arm.doc.ddi0487a.k_10775/index.html">Archived</a> from the original on 2019-01-19<span class="reference-accessdate">. Retrieved <span class="nowrap">2017-02-05</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=ARMv8-A+Reference+Manual&amp;rft.pub=ARM+Holdings&amp;rft_id=http%3A%2F%2Finfocenter.arm.com%2Fhelp%2Ftopic%2Fcom.arm.doc.ddi0487a.k_10775%2Findex.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-19"><span class="mw-cite-backlink"><b><a href="#cite_ref-19">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://www.iso.org/standard/57853.html">"C11 standard"</a>. ISO. Section 6.5.2.3 "Structure and Union members", §3 and footnote 95. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20200328063511/https://www.iso.org/standard/57853.html">Archived</a> from the original on 28 March 2020<span class="reference-accessdate">. Retrieved <span class="nowrap">15 August</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=C11+standard&amp;rft.pages=Section+6.5.2.3+%22Structure+and+Union+members%22%2C+%C2%A73+and+footnote+95&amp;rft.pub=ISO&amp;rft_id=https%3A%2F%2Fwww.iso.org%2Fstandard%2F57853.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-20"><span class="mw-cite-backlink"><b><a href="#cite_ref-20">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Type-punning">"3.10 Options That Control Optimization: -fstrict-aliasing"</a>. <i>GNU Compiler Collection (GCC)</i>. Free Software Foundation. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20230701053330/https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Type-punning">Archived</a> from the original on 1 July 2023<span class="reference-accessdate">. Retrieved <span class="nowrap">15 August</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=GNU+Compiler+Collection+%28GCC%29&amp;rft.atitle=3.10+Options+That+Control+Optimization%3A+-fstrict-aliasing&amp;rft_id=https%3A%2F%2Fgcc.gnu.org%2Fonlinedocs%2Fgcc%2FOptimize-Options.html%23Type-punning&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-21"><span class="mw-cite-backlink"><b><a href="#cite_ref-21">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFTorvalds2018" class="citation mailinglist cs1">Torvalds, Linus (5 Jun 2018). <a rel="nofollow" class="external text" href="https://lkml.org/lkml/2018/6/5/769">"&#91;GIT PULL&#93; Device properties framework update for v4.18-rc1"</a>. <i>Linux Kernel</i> (Mailing list). <a rel="nofollow" class="external text" href="https://web.archive.org/web/20180815090956/https://lkml.org/lkml/2018/6/5/769">Archived</a> from the original on 15 August 2018<span class="reference-accessdate">. Retrieved <span class="nowrap">15 August</span> 2018</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=%5BGIT+PULL%5D+Device+properties+framework+update+for+v4.18-rc1&amp;rft.date=2018-06-05&amp;rft.aulast=Torvalds&amp;rft.aufirst=Linus&amp;rft_id=https%3A%2F%2Flkml.org%2Flkml%2F2018%2F6%2F5%2F769&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-22"><span class="mw-cite-backlink"><b><a href="#cite_ref-22">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFHouseFaggin,_FedericoFeeney,_HalGelbach,_Ed2006" class="citation web cs1">House, David; Faggin, Federico; Feeney, Hal; Gelbach, Ed; Hoff, Ted; Mazor, Stan; Smith, Hank (2006-09-21). <a rel="nofollow" class="external text" href="http://archive.computerhistory.org/resources/text/Oral_History/Intel_8008/Intel_8008_1.oral_history.2006.102657982.pdf#page=5">"Oral History Panel on the Development and Promotion of the Intel 8008 Microprocessor"</a> <span class="cs1-format">(PDF)</span>. <a href="/wiki/Computer_History_Museum" title="Computer History Museum">Computer History Museum</a>. p.&#160;b5. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20140629084907/http://archive.computerhistory.org/resources/text/Oral_History/Intel_8008/Intel_8008_1.oral_history.2006.102657982.pdf#page=5">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2014-06-29<span class="reference-accessdate">. Retrieved <span class="nowrap">23 April</span> 2014</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Oral+History+Panel+on+the+Development+and+Promotion+of+the+Intel+8008+Microprocessor&amp;rft.pages=b5&amp;rft.pub=Computer+History+Museum&amp;rft.date=2006-09-21&amp;rft.aulast=House&amp;rft.aufirst=David&amp;rft.au=Faggin%2C+Federico&amp;rft.au=Feeney%2C+Hal&amp;rft.au=Gelbach%2C+Ed&amp;rft.au=Hoff%2C+Ted&amp;rft.au=Mazor%2C+Stan&amp;rft.au=Smith%2C+Hank&amp;rft_id=http%3A%2F%2Farchive.computerhistory.org%2Fresources%2Ftext%2FOral_History%2FIntel_8008%2FIntel_8008_1.oral_history.2006.102657982.pdf%23page%3D5&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-Lunde2009-23"><span class="mw-cite-backlink"><b><a href="#cite_ref-Lunde2009_23-0">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFLunde2009" class="citation book cs1">Lunde, Ken (13 January 2009). <a rel="nofollow" class="external text" href="https://books.google.com/books?id=SA92uQqTB-AC&amp;pg=PA29"><i>CJKV Information Processing</i></a>. O'Reilly Media, Inc. p.&#160;29. <a href="/wiki/ISBN_(identifier)" class="mw-redirect" title="ISBN (identifier)">ISBN</a>&#160;<a href="/wiki/Special:BookSources/978-0-596-51447-1" title="Special:BookSources/978-0-596-51447-1"><bdi>978-0-596-51447-1</bdi></a><span class="reference-accessdate">. Retrieved <span class="nowrap">21 May</span> 2013</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=CJKV+Information+Processing&amp;rft.pages=29&amp;rft.pub=O%27Reilly+Media%2C+Inc.&amp;rft.date=2009-01-13&amp;rft.isbn=978-0-596-51447-1&amp;rft.aulast=Lunde&amp;rft.aufirst=Ken&amp;rft_id=https%3A%2F%2Fbooks.google.com%2Fbooks%3Fid%3DSA92uQqTB-AC%26pg%3DPA29&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-24"><span class="mw-cite-backlink"><b><a href="#cite_ref-24">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.keil.com/support/man/docs/c51/c51_xe.htm">"Cx51 User's Guide: E. Byte Ordering"</a>. <i>keil.com</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20150402094251/http://www.keil.com/support/man/docs/c51/c51_xe.htm">Archived</a> from the original on 2015-04-02<span class="reference-accessdate">. Retrieved <span class="nowrap">2015-03-28</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=keil.com&amp;rft.atitle=Cx51+User%27s+Guide%3A+E.+Byte+Ordering&amp;rft_id=http%3A%2F%2Fwww.keil.com%2Fsupport%2Fman%2Fdocs%2Fc51%2Fc51_xe.htm&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-25"><span class="mw-cite-backlink"><b><a href="#cite_ref-25">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFJeff_Scheel2016" class="citation web cs1">Jeff Scheel (2016-06-16). <a rel="nofollow" class="external text" href="https://developer.ibm.com/articles/l-power-little-endian-faq-trs/">"Little endian and Linux on IBM Power Systems"</a>. <i>IBM</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20220327025540/https://developer.ibm.com/articles/l-power-little-endian-faq-trs/">Archived</a> from the original on 2022-03-27<span class="reference-accessdate">. Retrieved <span class="nowrap">2022-03-27</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=IBM&amp;rft.atitle=Little+endian+and+Linux+on+IBM+Power+Systems&amp;rft.date=2016-06-16&amp;rft.au=Jeff+Scheel&amp;rft_id=https%3A%2F%2Fdeveloper.ibm.com%2Farticles%2Fl-power-little-endian-faq-trs%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-26"><span class="mw-cite-backlink"><b><a href="#cite_ref-26">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFTimothy_Prickett_Morgan2019" class="citation web cs1">Timothy Prickett Morgan (10 June 2019). <a rel="nofollow" class="external text" href="https://www.itjungle.com/2019/06/10/the-transition-to-rhel-8-begins-on-power-systems/">"The Transition To RHEL 8 Begins On Power Systems"</a>. <i>ITJungle</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20220124063316/https://www.itjungle.com/2019/06/10/the-transition-to-rhel-8-begins-on-power-systems/">Archived</a> from the original on 24 January 2022<span class="reference-accessdate">. Retrieved <span class="nowrap">26 March</span> 2022</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=ITJungle&amp;rft.atitle=The+Transition+To+RHEL+8+Begins+On+Power+Systems&amp;rft.date=2019-06-10&amp;rft.au=Timothy+Prickett+Morgan&amp;rft_id=https%3A%2F%2Fwww.itjungle.com%2F2019%2F06%2F10%2Fthe-transition-to-rhel-8-begins-on-power-systems%2F&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-27"><span class="mw-cite-backlink"><b><a href="#cite_ref-27">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0290g/ch06s05s01.html">"Differences between BE-32 and BE-8 buses"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20190212070549/http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0290g/ch06s05s01.html">Archived</a> from the original on 2019-02-12<span class="reference-accessdate">. Retrieved <span class="nowrap">2019-02-10</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Differences+between+BE-32+and+BE-8+buses&amp;rft_id=http%3A%2F%2Finfocenter.arm.com%2Fhelp%2Findex.jsp%3Ftopic%3D%2Fcom.arm.doc.ddi0290g%2Fch06s05s01.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-28"><span class="mw-cite-backlink"><b><a href="#cite_ref-28">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://software.intel.com/sites/default/files/article/405250/how-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family.pdf">"How to detect New Instruction support in the 4th generation Intel® Core™ processor family"</a> <span class="cs1-format">(PDF)</span>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20160320222513/https://software.intel.com/sites/default/files/article/405250/how-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 20 March 2016<span class="reference-accessdate">. Retrieved <span class="nowrap">2 May</span> 2017</span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=How+to+detect+New+Instruction+support+in+the+4th+generation+Intel%C2%AE+Core%E2%84%A2+processor+family&amp;rft_id=https%3A%2F%2Fsoftware.intel.com%2Fsites%2Fdefault%2Ffiles%2Farticle%2F405250%2Fhow-to-detect-new-instruction-support-in-the-4th-generation-intel-core-processor-family.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-29"><span class="mw-cite-backlink"><b><a href="#cite_ref-29">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFSavard2018" class="citation cs2">Savard, John J. G. (2018) [2005], <a rel="nofollow" class="external text" href="http://www.quadibloc.com/comp/cp0201.htm">"Floating-Point Formats"</a>, <i>quadibloc</i>, <a rel="nofollow" class="external text" href="https://web.archive.org/web/20180703001709/http://www.quadibloc.com/comp/cp0201.htm">archived</a> from the original on 2018-07-03<span class="reference-accessdate">, retrieved <span class="nowrap">2018-07-16</span></span></cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=quadibloc&amp;rft.atitle=Floating-Point+Formats&amp;rft.date=2018&amp;rft.aulast=Savard&amp;rft.aufirst=John+J.+G.&amp;rft_id=http%3A%2F%2Fwww.quadibloc.com%2Fcomp%2Fcp0201.htm&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-30"><span class="mw-cite-backlink"><b><a href="#cite_ref-30">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://www.perl.com/doc/manual/html/pod/perlfunc/pack.html">"pack – convert a list into a binary representation"</a>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20090218010333/http://perl.com/doc/manual/html/pod/perlfunc/pack.html">Archived</a> from the original on 2009-02-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2009-02-04</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=pack+%E2%80%93+convert+a+list+into+a+binary+representation&amp;rft_id=http%3A%2F%2Fwww.perl.com%2Fdoc%2Fmanual%2Fhtml%2Fpod%2Fperlfunc%2Fpack.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-31"><span class="mw-cite-backlink"><b><a href="#cite_ref-31">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="http://bitsavers.org/pdf/dec/pdp11/handbooks/PDP1145_Handbook_1973.pdf"><i>PDP-11/45 Processor Handbook</i></a> <span class="cs1-format">(PDF)</span>. <a href="/wiki/Digital_Equipment_Corporation" title="Digital Equipment Corporation">Digital Equipment Corporation</a>. 1973. p.&#160;165. <a rel="nofollow" class="external text" href="https://ghostarchive.org/archive/20221009/http://bitsavers.org/pdf/dec/pdp11/handbooks/PDP1145_Handbook_1973.pdf">Archived</a> <span class="cs1-format">(PDF)</span> from the original on 2022-10-09.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=PDP-11%2F45+Processor+Handbook&amp;rft.pages=165&amp;rft.pub=Digital+Equipment+Corporation&amp;rft.date=1973&amp;rft_id=http%3A%2F%2Fbitsavers.org%2Fpdf%2Fdec%2Fpdp11%2Fhandbooks%2FPDP1145_Handbook_1973.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-32"><span class="mw-cite-backlink"><b><a href="#cite_ref-32">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFJalicsHeines1983" class="citation journal cs1">Jalics, Paul J.; Heines, Thomas S. (1 December 1983). <a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F358476.358504">"Transporting a portable operating system: UNIX to an IBM minicomputer"</a>. <i>Communications of the ACM</i>. <b>26</b> (12): 1066–1072. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.1145%2F358476.358504">10.1145/358476.358504</a></span>. <a href="/wiki/S2CID_(identifier)" class="mw-redirect" title="S2CID (identifier)">S2CID</a>&#160;<a rel="nofollow" class="external text" href="https://api.semanticscholar.org/CorpusID:15558835">15558835</a>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=article&amp;rft.jtitle=Communications+of+the+ACM&amp;rft.atitle=Transporting+a+portable+operating+system%3A+UNIX+to+an+IBM+minicomputer&amp;rft.volume=26&amp;rft.issue=12&amp;rft.pages=1066-1072&amp;rft.date=1983-12-01&amp;rft_id=info%3Adoi%2F10.1145%2F358476.358504&amp;rft_id=https%3A%2F%2Fapi.semanticscholar.org%2FCorpusID%3A15558835%23id-name%3DS2CID&amp;rft.aulast=Jalics&amp;rft.aufirst=Paul+J.&amp;rft.au=Heines%2C+Thomas+S.&amp;rft_id=https%3A%2F%2Fdoi.org%2F10.1145%252F358476.358504&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-33"><span class="mw-cite-backlink"><b><a href="#cite_ref-33">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation techreport cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20180218024045/http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/24593_APM_v21.pdf"><i>AMD64 Architecture Programmer's Manual Volume 2: System Programming</i></a> <span class="cs1-format">(PDF)</span> (Technical report). 2013. p.&#160;80. Archived from <a rel="nofollow" class="external text" href="http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/10/24593_APM_v21.pdf">the original</a> <span class="cs1-format">(PDF)</span> on 2018-02-18.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=report&amp;rft.btitle=AMD64+Architecture+Programmer%27s+Manual+Volume+2%3A+System+Programming&amp;rft.pages=80&amp;rft.date=2013&amp;rft_id=http%3A%2F%2Famd-dev.wpengine.netdna-cdn.com%2Fwordpress%2Fmedia%2F2012%2F10%2F24593_APM_v21.pdf&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-34"><span class="mw-cite-backlink"><b><a href="#cite_ref-34">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://download.microsoft.com/download/0/B/E/0BE8BDD7-E5E8-422A-ABFD-4342ED7AD886/Excel97-2007BinaryFileFormat(xls)Specification.xps">"Microsoft Office Excel 97 - 2007 Binary File Format Specification (*.xls 97-2007 format)"</a>. Microsoft Corporation. 2007. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20081222093136/http://download.microsoft.com/download/0/B/E/0BE8BDD7-E5E8-422A-ABFD-4342ED7AD886/Excel97-2007BinaryFileFormat(xls)Specification.xps">Archived</a> from the original on 2008-12-22<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-08-18</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=Microsoft+Office+Excel+97+-+2007+Binary+File+Format+Specification+%28%2A.xls+97-2007+format%29&amp;rft.pub=Microsoft+Corporation&amp;rft.date=2007&amp;rft_id=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F0%2FB%2FE%2F0BE8BDD7-E5E8-422A-ABFD-4342ED7AD886%2FExcel97-2007BinaryFileFormat%28xls%29Specification.xps&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-35"><span class="mw-cite-backlink"><b><a href="#cite_ref-35">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFMatt_Ahrens2016" class="citation audio-visual cs1">Matt Ahrens (2016). <a rel="nofollow" class="external text" href="http://open-zfs.org/wiki/Documentation/Read_Write_Lecture"><i>FreeBSD Kernel Internals: An Intensive Code Walkthrough</i></a>. OpenZFS Documentation/Read Write Lecture. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20160414051047/http://open-zfs.org/wiki/Documentation/Read_Write_Lecture">Archived</a> from the original on 2016-04-14<span class="reference-accessdate">. Retrieved <span class="nowrap">2016-03-30</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=unknown&amp;rft.btitle=FreeBSD+Kernel+Internals%3A+An+Intensive+Code+Walkthrough&amp;rft.pub=OpenZFS+Documentation%2FRead+Write+Lecture&amp;rft.date=2016&amp;rft.au=Matt+Ahrens&amp;rft_id=http%3A%2F%2Fopen-zfs.org%2Fwiki%2FDocumentation%2FRead_Write_Lecture&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-36"><span class="mw-cite-backlink"><b><a href="#cite_ref-36">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFReynoldsPostel1994" class="citation cs1"><a href="/wiki/Joyce_K._Reynolds" title="Joyce K. Reynolds">Reynolds, J.</a>; <a href="/wiki/Jon_Postel" title="Jon Postel">Postel, J.</a> (October 1994). <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc1700#page-3">"Data Notations"</a>. <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc1700"><i>Assigned Numbers</i></a>. <a href="/wiki/IETF" class="mw-redirect" title="IETF">IETF</a>. p.&#160;3. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<span class="id-lock-free" title="Freely accessible"><a rel="nofollow" class="external text" href="https://doi.org/10.17487%2FRFC1700">10.17487/RFC1700</a></span>. STD 2.&#32;<a href="/wiki/Request_for_Comments" title="Request for Comments">RFC</a> <a rel="nofollow" class="external text" href="https://datatracker.ietf.org/doc/html/rfc1700">1700</a><span class="reference-accessdate">. Retrieved <span class="nowrap">2012-03-02</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=Data+Notations&amp;rft.btitle=Assigned+Numbers&amp;rft.pages=p.-3&amp;rft.pub=IETF&amp;rft.date=1994-10&amp;rft_id=info%3Adoi%2F10.17487%2F&#82;FC1700&amp;rft.aulast=Reynolds&amp;rft.aufirst=J.&amp;rft.au=Postel%2C+J.&amp;rft_id=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc1700%26%23035%3Bpage-3&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-37"><span class="mw-cite-backlink"><b><a href="#cite_ref-37">^</a></b></span> <span class="reference-text">Ethernet POWERLINK Standardisation Group (2012), <i>EPSG Working Draft Proposal 301: Ethernet POWERLINK Communication Profile Specification Version 1.1.4</i>, chapter 6.1.1.</span> </li> <li id="cite_note-38"><span class="mw-cite-backlink"><b><a href="#cite_ref-38">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFIEEE_and_The_Open_Group2018" class="citation book cs1">IEEE and The Open Group (2018). "3. System Interfaces". <a rel="nofollow" class="external text" href="https://pubs.opengroup.org/onlinepubs/9699919799/functions/htonl.html"><i>The Open Group Base Specifications Issue 7</i></a>. Vol.&#160;2. p.&#160;1120. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20210418041546/https://pubs.opengroup.org/onlinepubs/9699919799/functions/htonl.html">Archived</a> from the original on 2021-04-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-04-09</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=bookitem&amp;rft.atitle=3.+System+Interfaces&amp;rft.btitle=The+Open+Group+Base+Specifications+Issue+7&amp;rft.pages=1120&amp;rft.date=2018&amp;rft.au=IEEE+and+The+Open+Group&amp;rft_id=https%3A%2F%2Fpubs.opengroup.org%2Fonlinepubs%2F9699919799%2Ffunctions%2Fhtonl.html&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> <li id="cite_note-39"><span class="mw-cite-backlink"><b><a href="#cite_ref-39">^</a></b></span> <span class="reference-text"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://linux.die.net/man/3/htonl">"htonl(3) - Linux man page"</a>. <i>linux.die.net</i>. <a rel="nofollow" class="external text" href="https://web.archive.org/web/20210418054331/https://linux.die.net/man/3/htonl">Archived</a> from the original on 2021-04-18<span class="reference-accessdate">. Retrieved <span class="nowrap">2021-04-09</span></span>.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&amp;rft.genre=unknown&amp;rft.jtitle=linux.die.net&amp;rft.atitle=htonl%283%29+-+Linux+man+page&amp;rft_id=https%3A%2F%2Flinux.die.net%2Fman%2F3%2Fhtonl&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AEndianness" class="Z3988"></span></span> </li> </ol></div></div> <div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Endianness&amp;action=edit&amp;section=20" title="Edit section: External links"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><span class="noviewer" typeof="mw:File"><a href="/wiki/File:Wiktionary-logo-en-v2.svg" class="mw-file-description"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/16px-Wiktionary-logo-en-v2.svg.png" decoding="async" width="16" height="16" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/24px-Wiktionary-logo-en-v2.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/32px-Wiktionary-logo-en-v2.svg.png 2x" data-file-width="512" data-file-height="512" /></a></span> The dictionary definition of <a href="https://en.wiktionary.org/wiki/Special:Search/endianness" class="extiw" title="wiktionary:Special:Search/endianness"><i>endianness</i></a> at Wiktionary</li></ul> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐59b954b7fb‐mkkcq Cached time: 20241207144641 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.791 seconds Real time usage: 0.947 seconds Preprocessor visited node count: 5172/1000000 Post‐expand include size: 101607/2097152 bytes Template argument size: 4971/2097152 bytes Highest expansion depth: 19/100 Expensive parser function count: 33/500 Unstrip recursion depth: 1/20 Unstrip post‐expand size: 140861/5000000 bytes Lua time usage: 0.507/10.000 seconds Lua memory usage: 26083353/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 845.473 1 -total 42.04% 355.413 1 Template:Refs 16.99% 143.662 1 Template:Annotated_link 12.51% 105.763 21 Template:Cite_web 12.11% 102.389 3 Template:Cite_IETF 10.24% 86.616 1 Template:Short_description 8.01% 67.713 1 Template:Refimprove 7.00% 59.141 1 Template:Ambox 6.06% 51.211 2 Template:Pagetype 5.41% 45.733 4 Template:Cn --> <!-- Saved in parser cache with key enwiki:pcache:43026:|#|:idhash:canonical and timestamp 20241207144641 and revision id 1260361280. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?useformat=desktop&amp;type=1x1&amp;usesul3=0" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Endianness&amp;oldid=1260361280">https://en.wikipedia.org/w/index.php?title=Endianness&amp;oldid=1260361280</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Help:Category" title="Help:Category">Categories</a>: <ul><li><a href="/wiki/Category:Computer_memory" title="Category:Computer memory">Computer memory</a></li><li><a href="/wiki/Category:Data_transmission" title="Category:Data transmission">Data transmission</a></li><li><a href="/wiki/Category:Metaphors" title="Category:Metaphors">Metaphors</a></li><li><a href="/wiki/Category:Software_wars" title="Category:Software wars">Software wars</a></li></ul></div><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden categories: <ul><li><a href="/wiki/Category:Articles_with_short_description" title="Category:Articles with short description">Articles with short description</a></li><li><a href="/wiki/Category:Short_description_is_different_from_Wikidata" title="Category:Short description is different from Wikidata">Short description is different from Wikidata</a></li><li><a href="/wiki/Category:Articles_needing_additional_references_from_July_2020" title="Category:Articles needing additional references from July 2020">Articles needing additional references from July 2020</a></li><li><a href="/wiki/Category:All_articles_needing_additional_references" title="Category:All articles needing additional references">All articles needing additional references</a></li><li><a href="/wiki/Category:All_articles_with_unsourced_statements" title="Category:All articles with unsourced statements">All articles with unsourced statements</a></li><li><a href="/wiki/Category:Articles_with_unsourced_statements_from_November_2023" title="Category:Articles with unsourced statements from November 2023">Articles with unsourced statements from November 2023</a></li><li><a href="/wiki/Category:All_articles_that_may_contain_original_research" title="Category:All articles that may contain original research">All articles that may contain original research</a></li><li><a href="/wiki/Category:Articles_that_may_contain_original_research_from_November_2023" title="Category:Articles that may contain original research from November 2023">Articles that may contain original research from November 2023</a></li><li><a href="/wiki/Category:Pages_displaying_short_descriptions_of_redirect_targets_via_Module:Annotated_link" title="Category:Pages displaying short descriptions of redirect targets via Module:Annotated link">Pages displaying short descriptions of redirect targets via Module:Annotated link</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 30 November 2024, at 09:50<span class="anonymous-show">&#160;(UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Endianness&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-7fd659d96c-8m6rh","wgBackendResponseTime":193,"wgPageParseReport":{"limitreport":{"cputime":"0.791","walltime":"0.947","ppvisitednodes":{"value":5172,"limit":1000000},"postexpandincludesize":{"value":101607,"limit":2097152},"templateargumentsize":{"value":4971,"limit":2097152},"expansiondepth":{"value":19,"limit":100},"expensivefunctioncount":{"value":33,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":140861,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 845.473 1 -total"," 42.04% 355.413 1 Template:Refs"," 16.99% 143.662 1 Template:Annotated_link"," 12.51% 105.763 21 Template:Cite_web"," 12.11% 102.389 3 Template:Cite_IETF"," 10.24% 86.616 1 Template:Short_description"," 8.01% 67.713 1 Template:Refimprove"," 7.00% 59.141 1 Template:Ambox"," 6.06% 51.211 2 Template:Pagetype"," 5.41% 45.733 4 Template:Cn"]},"scribunto":{"limitreport-timeusage":{"value":"0.507","limit":"10.000"},"limitreport-memusage":{"value":26083353,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-59b954b7fb-mkkcq","timestamp":"20241207144641","ttl":2592000,"transientcontent":false}}});});</script> <script type="application/ld+json">{"@context":"https:\/\/schema.org","@type":"Article","name":"Endianness","url":"https:\/\/en.wikipedia.org\/wiki\/Endianness","sameAs":"http:\/\/www.wikidata.org\/entity\/Q339338","mainEntity":"http:\/\/www.wikidata.org\/entity\/Q339338","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https:\/\/www.wikimedia.org\/static\/images\/wmf-hor-googpub.png"}},"datePublished":"2002-03-06T07:59:48Z","dateModified":"2024-11-30T09:50:47Z","image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/4\/43\/Gullivers_travels.jpg","headline":"the order of the bytes, comprising a digital word, in computer memory, based on significance"}</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10