回复: One question

Peter Barada pbarada@wavemark.com
Thu Aug 13 07:52:00 GMT 1998


>Let's stick to the standard terminology for this:  The Intel x86 architecture
>is little-endian, which means that the low-order bit are considered "first".
>(The low-ordered byte is the one with the smallest byte address.)
>The same is true for the Vax, the Alpha, and other systems.
>
>The Macintosh, Suns, and many other architectures are big-endian, which
>means that the high-rder bit (and byte) are "first".

To clear this up:

Little-endian BYTE order means that the lowest byte addressed contains
the LEAST significant bits of a multibyte value.

Big-endian BYTE order means that the lowest byte addressed contains
the MOST significant bits of a multibyte value.




More information about the Gcc mailing list