Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Endianness

From Wikipedia, the free encyclopedia
(Redirected fromLittle-endian)
Order of bytes in a computer word
"Big-endian" and "Little-endian" redirect here. For the conflicting ideologies inGulliver's Travels, seeLilliput and Blefuscu § History and politics.
For the specific use of endianness in date formats, seeCalendar date.
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Endianness" – news ·newspapers ·books ·scholar ·JSTOR
(July 2020) (Learn how and when to remove this message)
Gulliver's Travels byJonathan Swift, the novel from which the term was coined

Incomputing,endianness is the order in whichbytes within aword of digital data are transmitted over adata communication medium oraddressed (by rising addresses) incomputer memory, counting only bytesignificance compared to earliness. Endianness is primarily expressed asbig-endian (BE) orlittle-endian (LE), terms introduced byDanny Cohen into computer science for data ordering in anInternet Experiment Note published in 1980.[1] The adjectiveendian has its origin in the writings of 18th century Anglo-Irish writerJonathan Swift. In the 1726 novelGulliver's Travels, he portrays the conflict between sects of Lilliputians divided into those breaking the shell of aboiled egg from the big end or from the little end.[2][3] By analogy, a CPU may read a digital word big end first or little end first.

Computers store information in various-sized groups of binary bits. Each group is assigned a number, called itsaddress, 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, a32-bit 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 maintainbackward compatibility.

A big-endian system stores themost significant byte of a word at the smallestmemory address and theleast significant byte at the largest. A little-endian system, in contrast, stores the least-significant byte at the smallest address.[4][5][6] 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.Bi-endianness 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 calledmiddle-endian ormixed-endian.[7][8][9][10]

Big-endianness is the dominant ordering in networking protocols, such as in theInternet protocol suite, where it is referred to asnetwork order, transmitting the most significant byte first. Conversely, little-endianness is the dominant ordering for processor architectures (x86, mostARM implementations, baseRISC-V implementations) and their associated memory.File formats can use either ordering; some formats use a mixture of both or contain an indicator of which ordering is used throughout the file.[11]

Characteristics

[edit]
Diagram demonstrating big- versus little-endianness

Computer memory consists of a sequence of storage cells (smallestaddressable units); in machines that supportbyte addressing, those units are calledbytes. Each byte is identified and accessed in hardware and software by itsmemory address. If the total number of bytes in memory isn, then addresses are enumerated from 0 ton − 1.

Computer programs often use data structures orfields 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 byone singlehardware instruction. 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 theIBM 1401 addresses variable-length fields at their low-order (highest-addressed) position with their lengths being defined by aword mark 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.[citation needed]

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.

Numbers

[edit]

Positional number systems (mostly base 2, or less often base 10) are the predominant way of representing and particularly of manipulatinginteger data by computers. In pure form this is valid for moderate sized non-negative integers, e.g. of C data typeunsigned. In such a number system, thevalue 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:[12]

  • Decreasing numeric significance with increasing memory addresses (or increasing time), known asbig-endian and
  • Increasing numeric significance with increasing memory addresses (or increasing time), known aslittle-endian.

In these expressions, the term "end" is meant as the extremity where thebig resp.little significance is writtenfirst, namely where the fieldstarts.

The integer data that are directly supported by thecomputer hardware 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 foraddition,subtraction andmultiplication. The most-significant byte is accessed first fordivision andcomparison. See§ Calculation order.

Text

[edit]

When character (text) strings are to be compared with one another, e.g. in order to support some mechanism likesorting, this is very frequently donelexicographically 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.[citation needed]

Integer numbers written as text are always represented most significant digit first in memory, which is similar to big-endian, independently oftext direction.

Byte addressing

[edit]
See also:Byte addressing

When memory bytes are printed sequentially from left to right (e.g. in ahex dump), 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.

This behavior arises, for example, inFourCC 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 hexadecimalASCII. 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 thePDP-11, 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".[13]

Byte swapping

[edit]

Byte-swapping consists of rearranging bytes to change endianness. Many compilers providebuilt-ins that are likely to be compiled into native processor instructions (bswap/movbe), such as__builtin_bswap32. Software interfaces for swapping include:

  • Standardnetwork endianness functions (from/to BE, up to 32-bit).[14] Windows has a 64-bit extension inwinsock2.h.
  • BSD and Glibcendian.h functions (from/to BE and LE, up to 64-bit).[15]
  • macOSOSByteOrder.h macros (from/to BE and LE, up to 64-bit).
  • Thestd::byteswap function inC++23.[16]

SomeCPU instruction sets provide native support for endian byte swapping, such asbswap[17] (x86486 and later,i960 — i960Jx and later[18]), andrev[19] (ARMv6 and later).

Somecompilers have built-in facilities for byte swapping. For example, theIntelFortran compiler supports the non-standardCONVERT specifier when opening a file, e.g.:OPEN(unit,CONVERT='BIG_ENDIAN',...). 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.

Considerations

[edit]

Simplified access to part of a field

[edit]

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 whenalignment restrictions are imposed). For example, a 32-bit memory location with content4A 00 00 00 can be read at the same address as either8-bit (value = 4A),16-bit (004A),24-bit (00004A), or32-bit (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 byassembly language programmers. While not allowed by C++, suchtype punning code is allowed as "implementation-defined" by the C11 standard[20] and commonly used[21] in code interacting with hardware.[22]

Calculation order

[edit]

Some operations inpositional number systems 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 andmicrocontrollers. 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.

Addition, subtraction, and multiplication start at the least significant digit position andpropagate the carry 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.

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.

Some big-endian processors (e.g. the IBM System/360 and its successors) contain hardware instructions for lexicographically comparing varying lengthcharacter strings.

The normal data transport by anassignment statement is in principle independent of the endianness of the processor.

Hardware

[edit]

Many historical and extant processors use a big-endian memory representation, either exclusively or as a design option. TheIBM System/360 uses big-endian byte order, as do its successorsSystem/370,ESA/390, andz/Architecture. ThePDP-10 uses big-endian addressing for byte-oriented instructions. TheIBM Series/1 minicomputer uses big-endian byte order. The Motorola6800 / 6801, the6809 and the68000 series of processors use the big-endian format. Solely big-endian architectures include the IBM z/Architecture andOpenRISC. ThePDP-11 minicomputer, however, uses little-endian byte order, as does itsVAX successor.

TheDatapoint 2200 used simple bit-serial logic with little-endian to facilitatecarry propagation. When Intel developed the8008 microprocessor for Datapoint, they used little-endian for compatibility. However, as Intel was unable to deliver the 8008 in time, Datapoint used amedium-scale integration equivalent, but the little-endianness was retained in most Intel designs, including theMCS-48 and the8086 and itsx86 successors, includingIA-32 andx86-64 processors.[23][24] TheMOS Technology 6502 family (includingWestern Design Center65802 and65C816), the ZilogZ80 (includingZ180 andeZ80), theAlteraNios II, theAtmel AVR, theAndes Technology NDS32, theQualcomm Hexagon, and many other processors and processor families are also little-endian.

The Intel8051, 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.[25]

Bi-endianness

[edit]

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 asbi-endian. Architectures that support switchable endianness includePowerPC/Power ISA,SPARC V9,ARM versions 3 and above,DEC Alpha,MIPS,Intel i860,PA-RISC,SuperH SH-4,IA-64,C-Sky, andRISC-V. This feature can improve performance or simplify the logic of networking devices and software. The wordbi-endian, when said of hardware, denotes the capability of the machine to compute or pass data in either endian format.

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 theCray T3E).

IBM AIX andIBM i run in big-endian mode on bi-endian Power ISA;Linux 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.[26][27] SPARC has no relevant little-endian deployment, as bothOracle Solaris 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.

The termbi-endian 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'sIA-64-based Itanium CPU, which allows both.

Some nominally bi-endian CPUs require motherboard help to fully switch endianness. For instance, the 32-bit desktop-orientedPowerPC 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 toI/O 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.[original research?]

Some CPUs, such as many PowerPC processors intended for embedded use and almost all SPARC processors, allow per-page choice of endianness.

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.

TheARM architecture supports two big-endian modes, calledBE-8 andBE-32.[28] 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.

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.

Recent Intel x86 and x86-64 architecture CPUs have a MOVBE instruction (Intel Core since generation 4, afterAtom),[29] 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.

There are also devices which use different formats in different places. For instance, the BQ27421Texas Instruments battery gauge uses the little-endian format for its registers and the big-endian format for itsrandom-access memory.

SPARC historically used big-endian until version 9, which is bi-endian. Similarly early IBM POWER processors were big-endian, but thePowerPC andPower ISA descendants are now bi-endian. TheARM architecture was little-endian before version 3 when it became bi-endian.

Floating point

[edit]

Although many processors use little-endian storage for all types of data (integer, floating point), there are a number of hardware architectures wherefloating-point numbers are represented in big-endian form while integers are represented in little-endian form.[30] There areARM 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.VAX 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, theXDR standard uses big-endian IEEE 754 as its representation. It may therefore appear strange that the widespreadIEEE 754 floating-point standard does not specify endianness.[31] 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. Smallembedded systems using special floating-point formats may be another matter, however.

Variable-length data

[edit]

Most instructions considered so far contain the size (lengths) of theiroperands within theoperation code. 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 aword mark. Such an approach allows operand lengths up to 256 bytes or larger. The data types of such operands are character strings orBCD. Machines able to manipulate such data with one instruction (e.g. compare, add) include theIBM 1401,1410,1620,System/360,System/370,ESA/390, andz/Architecture, all of them of type big-endian.

Middle-endian

[edit]

Numerous other orderings, generically calledmiddle-endian ormixed-endian, are possible.

ThePDP-11 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. TheUNIXC compiler used the same format for 32-bit long integers. This ordering is known asPDP-endian.[32]

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 outUnix, but on the Series/1 it printednUxi instead.[13]

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:

Storage of a 32-bit integer,0x0A0B0C0D, on a PDP-11
byte offset8-bit value16-bit little-endian value
00Bh0A0Bh
10Ah
20Dh0C0Dh
30Ch

Segment descriptors ofIA-32 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.[33]

Software

[edit]

Logic design

[edit]

Hardware description languages (HDLs) used to express digital logic often support arbitrary endianness, with arbitrary granularity. For example, inSystemVerilog, a word can be defined as little-endian or big-endian.[citation needed]

Files and filesystems

[edit]

The recognition of endianness is important when reading a file or filesystem created on a computer with different endianness.

Fortran sequential unformatted files created with one endianness usually cannot be read on a system using the other endianness because Fortran usually implements arecord (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.

Unicode text can optionally start with abyte order mark (BOM) to signal the endianness of the file or stream. Its code point is U+FEFF. InUTF-32 for example, a big-endian file should start with00 00 FE FF; a little-endian should start withFF FE 00 00.

Application binary data formats, such asMATLAB.mat files, or the.bil 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 binaryXLS file 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.[34]

TIFF 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 signatureMM it means that integers are represented as big-endian, whileII means little-endian. Those signatures need a single 16-bit word each, and they arepalindromes, so they are endianness independent.I stands forIntel andM stands forMotorola. 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.

As a consequence of its original implementation on the Intel 8080 platform, the operating system-independentFile Allocation Table (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.

ZFS, which combines afilesystem and alogical volume manager, is known to provide adaptive endianness and to work with both big-endian and little-endian systems.[35]

Networking

[edit]

ManyIETF RFCs use the termnetwork order, meaning the order of transmission for bytesover the wire innetwork protocols. Among others, the historic RFC 1700 defines the network order for protocols in theInternet protocol suite to be big-endian.[36]

However, not all protocols use big-endian byte order as the network order. TheServer Message Block (SMB) protocol uses little-endian byte order. InCANopen, multi-byte parameters are always sentleast significant byte first (little-endian). The same is true forEthernet Powerlink.[37]

TheBerkeley socketsAPI defines a set of functions to convert 16- and 32-bit integers to and from network byte order: thehtons (host-to-network-short) andhtonl (host-to-network-long) functions convert 16- and 32-bit values respectively from machine (host) to network order; thentohs andntohl functions convert from network to host order.[38][39] These functions may be ano-op on a big-endian system.

While the high-level network protocols usually consider the byte (mostly meant asoctet) as their atomic unit, the lowest layers of anetwork stack may deal with ordering of bits within a byte.

See also

[edit]
  • Bit order – Convention to identify bit positionsPages displaying short descriptions of redirect targets

References

[edit]
  1. ^Cohen, Danny (1980-04-01).On Holy Wars and a Plea for Peace.IETF. IEN 137. Also published atCohen, Danny (October 1981)."On Holy Wars and a Plea for Peace".IEEE Computer.14 (10):48–54.doi:10.1109/C-M.1981.220208.
  2. ^Swift, Jonathan (1726)."A Voyage to Lilliput, Chapter IV".Gulliver's Travels.Archived from the original on 2022-09-20. Retrieved2022-09-20.
  3. ^Bryant, Randal E.; David, O'Hallaron (2016),Computer Systems: A Programmer's Perspective (3 ed.), Pearson Education, p. 79,ISBN 978-1-488-67207-1
  4. ^"Understanding big and little endian byte order".betterexplained.com.Archived from the original on 2019-05-24. Retrieved2019-05-20.
  5. ^"Byte Ordering PPC".Archived from the original on 2019-05-09. Retrieved2019-05-20.
  6. ^"Writing endian-independent code in C".Archived from the original on 2019-06-10. Retrieved2019-05-20.
  7. ^"Internet Hall of Fame Pioneer".Internet Hall of Fame.The Internet Society.Archived from the original on 2021-07-21. Retrieved2015-10-07.
  8. ^Cary, David."Endian FAQ". Archived fromthe original on 2017-11-09. Retrieved2010-10-11.
  9. ^James, David V. (June 1990). "Multiplexed buses: the endian wars continue".IEEE Micro.10 (3):9–21.doi:10.1109/40.56322.ISSN 0272-1732.S2CID 24291134.
  10. ^Blanc, Bertrand; Maaraoui, Bob (December 2005)."Endianness or Where is Byte 0?"(PDF).Archived(PDF) from the original on 2007-12-03. Retrieved2008-12-21.
  11. ^A File Format for the Exchange of Images in the Internet. April 1992. p. 7.doi:10.17487/RFC1314.RFC1314. Retrieved2021-08-16.
  12. ^Tanenbaum, Andrew S.; Austin, Todd M. (4 August 2012).Structured Computer Organization. Prentice Hall PTR.ISBN 978-0-13-291652-3. Retrieved18 May 2013.
  13. ^abJalics, Paul J.; Heines, Thomas S. (1 December 1983)."Transporting a portable operating system: UNIX to an IBM minicomputer".Communications of the ACM.26 (12):1066–1072.doi:10.1145/358476.358504.S2CID 15558835.
  14. ^byteorder(3) – Linux Programmer'sManual – Library Functions
  15. ^endian(3) – Linux Programmer'sManual – Library Functions
  16. ^"std::byteswap".en.cppreference.com.Archived from the original on 20 November 2023. Retrieved3 October 2023.
  17. ^"Intel 64 and IA-32 Architectures Software Developer's Manual Volume 2 (2A, 2B & 2C): Instruction Set Reference, A-Z"(PDF). Intel. September 2016. p. 3–112.Archived(PDF) from the original on 2022-10-09. Retrieved2017-02-05.
  18. ^"i960® VH Processor Developer's Manual"(PDF). Intel. October 1998.Archived(PDF) from the original on 2024-04-02. Retrieved2024-04-02.
  19. ^"ARMv8-A Reference Manual".ARM Holdings.Archived from the original on 2019-01-19. Retrieved2017-02-05.
  20. ^"C11 standard". ISO. Section 6.5.2.3 "Structure and Union members", §3 and footnote 95.Archived from the original on 28 March 2020. Retrieved15 August 2018.
  21. ^"3.10 Options That Control Optimization: -fstrict-aliasing".GNU Compiler Collection (GCC). Free Software Foundation.Archived from the original on 1 July 2023. Retrieved15 August 2018.
  22. ^Torvalds, Linus (5 Jun 2018)."[GIT PULL] Device properties framework update for v4.18-rc1".Linux Kernel (Mailing list).Archived from the original on 15 August 2018. Retrieved15 August 2018.
  23. ^House, David; Faggin, Federico; Feeney, Hal; Gelbach, Ed; Hoff, Ted; Mazor, Stan; Smith, Hank (2006-09-21)."Oral History Panel on the Development and Promotion of the Intel 8008 Microprocessor"(PDF).Computer History Museum. p. b5.Archived(PDF) from the original on 2014-06-29. Retrieved23 April 2014.
  24. ^Lunde, Ken (13 January 2009).CJKV Information Processing. O'Reilly Media, Inc. p. 29.ISBN 978-0-596-51447-1. Retrieved21 May 2013.
  25. ^"Cx51 User's Guide: E. Byte Ordering".keil.com.Archived from the original on 2015-04-02. Retrieved2015-03-28.
  26. ^Jeff Scheel (2016-06-16)."Little endian and Linux on IBM Power Systems".IBM.Archived from the original on 2022-03-27. Retrieved2022-03-27.
  27. ^Timothy Prickett Morgan (10 June 2019)."The Transition To RHEL 8 Begins On Power Systems".ITJungle.Archived from the original on 24 January 2022. Retrieved26 March 2022.
  28. ^"Differences between BE-32 and BE-8 buses".Archived from the original on 2019-02-12. Retrieved2019-02-10.
  29. ^"How to detect New Instruction support in the 4th generation Intel® Core™ processor family"(PDF).Archived(PDF) from the original on 20 March 2016. Retrieved2 May 2017.
  30. ^Savard, John J. G. (2018) [2005],"Floating-Point Formats",quadibloc,archived from the original on 2018-07-03, retrieved2018-07-16
  31. ^"pack – convert a list into a binary representation".Archived from the original on 2009-02-18. Retrieved2009-02-04.
  32. ^PDP-11/45 Processor Handbook(PDF).Digital Equipment Corporation. 1973. p. 165.Archived(PDF) from the original on 2022-10-09.
  33. ^AMD64 Architecture Programmer's Manual Volume 2: System Programming(PDF) (Technical report). 2013. p. 80. Archived fromthe original(PDF) on 2018-02-18.
  34. ^"Microsoft Office Excel 97 - 2007 Binary File Format Specification (*.xls 97-2007 format)". Microsoft Corporation. 2007.Archived from the original on 2008-12-22. Retrieved2014-08-18.
  35. ^Matt Ahrens (2016).FreeBSD Kernel Internals: An Intensive Code Walkthrough. OpenZFS Documentation/Read Write Lecture.Archived from the original on 2016-04-14. Retrieved2016-03-30.
  36. ^Reynolds, J.;Postel, J. (October 1994)."Data Notations".Assigned Numbers.IETF. p. 3.doi:10.17487/RFC1700. STD 2. RFC1700. Retrieved2012-03-02.
  37. ^Ethernet POWERLINK Standardisation Group (2012),EPSG Working Draft Proposal 301: Ethernet POWERLINK Communication Profile Specification Version 1.1.4, chapter 6.1.1.
  38. ^IEEE and The Open Group (2018). "3. System Interfaces".The Open Group Base Specifications Issue 7. Vol. 2. p. 1120.Archived from the original on 2021-04-18. Retrieved2021-04-09.
  39. ^"htonl(3) - Linux man page".linux.die.net.Archived from the original on 2021-04-18. Retrieved2021-04-09.

External links

[edit]
Wikimedia Commons has media related toEndianness.
  • The dictionary definition ofendianness at Wiktionary
Retrieved from "https://en.wikipedia.org/w/index.php?title=Endianness&oldid=1279724720"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp