Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 + RN 4.3; site inset.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!ukc!stc!inset!mikeb From: mikeb@inset.UUCP (Mike Banahan) Newsgroups: net.lang.c Subject: Re: Re: Re: Uses of \"short\" ? Message-ID: <741@inset.UUCP> Date: Sat, 19-Oct-85 08:58:52 EDT Article-I.D.: inset.741 Posted: Sat Oct 19 08:58:52 1985 Date-Received: Mon, 21-Oct-85 00:44:00 EDT References: <2081@brl-tgr.UUCP> <7800003@datacube.UUCP> Reply-To: mikeb@inset.UUCP (Mike Banahan) Organization: The Instruction Set Ltd., London, UK. Lines: 13 Xpath: stc stc-a Uh? I thought that to do stuff like struct devregs{ int8 csr0; int8 csr1; int16 foobar; }; you would use bitfields. The whole thing is intrinsically nonportable, since you're talking to a bit of hardware anyhow, so the noportability of bitfields is no sweat. Or did I miss something? -- Mike Banahan, Technical Director, The Instruction Set Ltd. mcvax!ukc!inset!mikeb