[olug] Stupid Vim trick-Big/Little Endian
Brian Weber
brian at cbiowa.com
Thu Apr 11 07:27:52 UTC 2002
> -----Original Message-----
> From: Brian Roberson [mailto:roberson at olug.org]
>
> not at all, you are absolutely correct, endian is a byte
> ordering, just as you say, where little endian has the
> ls-byte ( least signifigant byte ) in the lower address range
> and big-endian is the reverse. let me try not to confuse
> anyone here....
>
> If you have a 16 bit word ( 2 bytes ) , addressed 0x0 and 0x1
> , where the value of these locations are 0x0 = 00000001 0x1 =
> 00000011 depending on the endian, you can read the value of
> that word as either 13 or 31
>
> ( little endian = 31 ; big endian = 13 )
>
In the never ending quest for knowledge, I will be the one to
ask. WHY. I don't see the advantage in having one over the other.
________________________________________________________________________
________________________________________
If the grass seems so much greener on the other side, it's likely that
the residents there are just full of S**!
Brian Weber
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
For help contact olug-help at olug.org - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at olug.org
or `mail olug-unsubscribe at olug.org < /dev/null`
(c)1998-2002 OLUG http://www.olug.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the OLUG
mailing list