BIG ENDIAN or LITTLE ENDIAN

David A. Gatwood dgatwood at deepspace.mklinux.org
Mon Oct 30 05:25:31 EST 2000


On Sat, 28 Oct 2000, Michael Norton wrote:

> I am working on some code that is particuliar of byte ordering. Is the
> G4, running PPC 2000 a BIG_ENDIAN machine?

All PowerPC machines running Linux are big-endian, by nature.  There's a
little-endian hack... err... mode in the processor, but I'm not aware of
any OS that uses it except possibly the ill-fated Windows NT port that was
never released....  :-/


David

---------------------------------------------------------------------
                    Check out my weekly web comic:
                     http://www.techmagazine.org


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list