> appro> > (Uh oh-- I always get
> appro> > > that wrong. I believe that x86 CPU's are little-endian, and PPC's are
> appro> > > big-endian.
> appro> It's easy:-) There're very few little-endians and a lot of big-endians.
> appro> "Few/lot" are in terms of variety, not amount of sales:-) "Few" are
> appro> Intel-based and Digital boxes (VAXes, Alphas and old MIPS-based
>
> A slightly more appropriate definition I've heard and used is that the
> endianness is decided by which end if the word or longword the array
> of bytes containing it is started. Do you have the least significant
> byte first? Then you have a little-endian machine. Do you have the
> most significant byte first? Big-endian.
This definition is absolutely the only one correct! I in turn didn't in
any sense try to *define* the term, but just attempted to give (a
layman:-) a way to *remember* which one is which without consulting
architecture manual or writing a one-line program:-)
Andy.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]