Subject: Re: Hm...
To: None <current-users@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 02/03/2000 16:37:01
>> [I]n a declaration that names only [unsigned], "int" is implicitly
>> supplied.
> Hm.
> So, my defining WEIRD_ADDR as follows shouldn't do anything strange.
> It ought to give me four bytes of zero,
> #define WEIRD_ADDR ((unsigned) 0x0)
Well, assuming four-byte ints, which I think is true on all NetBSD
ports at present.
> just as 0xdeadbeef would give me four bytes filled with de, ad, be,
> and ef in sequence.
Or ef, be, ad, de, if you're on a little-endian machine...and again
assuming four-byte ints. Yes.
der Mouse
mouse@rodents.montreal.qc.ca
7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B