BIGENDIAN
Bob Kline
bkline at rksystems.com
Wed Jul 11 17:17:14 EDT 2001
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."
--
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com
More information about the FreeTDS
mailing list