freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Michael Peppler <mpeppler AT peppler.org>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: Re: BIGENDIAN
- Date: Wed, 11 Jul 2001 13:49:47 -0700
Bob Kline writes:
> On Wed, 11 Jul 2001, Sam Sam wrote:
>
> > isn't 0x01000000 means 2^6=64 while 0x00000001 means 2^0=1 ?? CMIIW
> > please... why intel use 0x01000000 as representation of 1 ??
>
> It doesn't. The notation 0xHHHHHHHH (where H is a hex digit) is
> properly used to represent the logical value of the storage unit. When
> the ordering of the bytes used to store that value is to be represented
> a notation like "HH HH HH HH" is used. So you might write "an Intel
> machine stores the value 0x00000001 as 01 00 00 00." You would not want
> to write "an Intel machine stores the value 0x00000001 as 0x01000000."
Indeed - my bad, didn't take enough time to properly frame the
explanation.
Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler AT peppler.org - mpeppler AT mbay.net
International Sybase User Group - http://www.isug.com
-
BIGENDIAN,
Sam Sam, 07/11/2001
- <Possible follow-up(s)>
- Re: BIGENDIAN, Michael Peppler, 07/11/2001
- Re: BIGENDIAN, Darryl Friesen, 07/11/2001
- Re: BIGENDIAN, Darryl Friesen, 07/11/2001
- RE: BIGENDIAN, Lowden, James K, 07/11/2001
- RE: BIGENDIAN, Bob Kline, 07/11/2001
- RE: BIGENDIAN, Brian Bruns, 07/11/2001
- Re: BIGENDIAN, Sam Sam, 07/11/2001
- Re: BIGENDIAN, Nathan Fredrickson, 07/11/2001
- Re: BIGENDIAN, Bob Kline, 07/11/2001
- Re: BIGENDIAN, Michael Peppler, 07/11/2001
- Re: BIGENDIAN, Bob Kline, 07/11/2001
- RE: BIGENDIAN, Mark J. Lilback, 07/11/2001
- Re: BIGENDIAN, Sam Sam, 07/11/2001
- Re: BIGENDIAN, Bob Kline, 07/11/2001
- RE: BIGENDIAN, Brian Bruns, 07/12/2001
- RE: BIGENDIAN, Mark J. Lilback, 07/12/2001
Archive powered by MHonArc 2.6.24.