BIG ENDIAN or LITTLE ENDIAN
hi,
I am working on some code that is particuliar of byte ordering. Is the G4, running PPC 2000 a BIG_ENDIAN machine?
thanks,
Mike
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
yes, it's big endian
Quoted 2 lines · Michael Norton
I am working on some code that is particuliar of byte ordering. Is the G4, running PPC 2000 a
BIG_ENDIANmachine?
--
Tom Vier <[email protected]>
DSA Key id 0x27371A2C
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Michael Norton
hi,
I am working on some code that is particuliar of byte ordering. Is the G4, running PPC 2000 a
BIG_ENDIANmachine?
I think this one was answered before, but...
LinuxPPC (and for that matter, most if not all PPC operating systems) run in big endian. The answer to your question in a word is "yes".
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Michael Norton
I am working on some code that is particuliar of byte ordering. Is the G4, running PPC 2000 a
BIG_ENDIANmachine?
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/
Re: NT PPC
Quoted 5 lines · David A. Gatwood
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.... :-/
It was released and it actually worked. If you have an NT 4.0 CD it's on there.
The trick was finding software... SP1 and IE 2.0 don't take you very far.
-Hollis
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/