BIGENDIAN

Bob Kline bkline at rksystems.com
Wed Jul 11 14:23:03 EDT 2001


On Wed, 11 Jul 2001, Lowden, James K wrote:

> If you declared a variable:
> 
> 	int foo = 512;
> 
> and opened up the debugger, you'd find foo stored as 00 02.
> 
> On a Sun box you'd see 20 00.

The re-ordering doesn't get that granular (the order of the nybbles is
preserved).  So what you'd see on the Sun box is actually 02 00.

--
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com





More information about the FreeTDS mailing list