linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* BIG ENDIAN or LITTLE ENDIAN
@ 2000-10-28 20:19 Michael Norton
  2000-10-28 20:39 ` Tom Vier
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michael Norton @ 2000-10-28 20:19 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BIG ENDIAN or LITTLE ENDIAN
  2000-10-28 20:19 BIG ENDIAN or LITTLE ENDIAN Michael Norton
@ 2000-10-28 20:39 ` Tom Vier
  2000-10-28 22:12 ` David Riley
  2000-10-29 18:25 ` David A. Gatwood
  2 siblings, 0 replies; 5+ messages in thread
From: Tom Vier @ 2000-10-28 20:39 UTC (permalink / raw)
  To: Michael Norton; +Cc: linuxppc-dev


yes, it's big endian

On Sat, Oct 28, 2000 at 01:19:45PM -0700, 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?

--
Tom Vier <thomassr@erols.com>
DSA Key id 0x27371A2C

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BIG ENDIAN or LITTLE ENDIAN
  2000-10-28 20:19 BIG ENDIAN or LITTLE ENDIAN Michael Norton
  2000-10-28 20:39 ` Tom Vier
@ 2000-10-28 22:12 ` David Riley
  2000-10-29 18:25 ` David A. Gatwood
  2 siblings, 0 replies; 5+ messages in thread
From: David Riley @ 2000-10-28 22:12 UTC (permalink / raw)
  To: Michael Norton; +Cc: linuxppc-dev


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

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: NT PPC
  2000-10-29 18:25 ` David A. Gatwood
@ 2000-10-29 18:18   ` Hollis R Blanchard
  0 siblings, 0 replies; 5+ messages in thread
From: Hollis R Blanchard @ 2000-10-29 18:18 UTC (permalink / raw)
  To: David A. Gatwood; +Cc: linuxppc-dev


On Sun, 29 Oct 2000, David A. Gatwood wrote:
>
> 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: BIG ENDIAN or LITTLE ENDIAN
  2000-10-28 20:19 BIG ENDIAN or LITTLE ENDIAN Michael Norton
  2000-10-28 20:39 ` Tom Vier
  2000-10-28 22:12 ` David Riley
@ 2000-10-29 18:25 ` David A. Gatwood
  2000-10-29 18:18   ` NT PPC Hollis R Blanchard
  2 siblings, 1 reply; 5+ messages in thread
From: David A. Gatwood @ 2000-10-29 18:25 UTC (permalink / raw)
  To: Michael Norton; +Cc: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-29 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-28 20:19 BIG ENDIAN or LITTLE ENDIAN Michael Norton
2000-10-28 20:39 ` Tom Vier
2000-10-28 22:12 ` David Riley
2000-10-29 18:25 ` David A. Gatwood
2000-10-29 18:18   ` NT PPC Hollis R Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).