At 07:26 PM 8/7/00 +0100, Tom Hughes wrote:
> From /usr/include/endian.h on my linux box:
>
>#define __LITTLE_ENDIAN 1234
>#define __BIG_ENDIAN    4321
>#define __PDP_ENDIAN    3412
>
>Basically PDP or middle endian is low byte first within each word
>but high word first in the overall longword.

This, FWIW, is because the PDP-11 (as opposed to all the other PDP 
families) was a 16-bit machine, so this is actually two words each in 
little-endian storage...

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to