Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: $Revision: 1.6.2.16 $; site ea.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!inuxc!pur-ee!uiucdcs!ea!jejones
From: jejones@ea.UUCP
Newsgroups: net.lang.c
Subject: Re: Re: Do you use bit fields?
Message-ID: <5700016@ea.UUCP>
Date: Wed, 26-Sep-84 10:37:00 EDT
Article-I.D.: ea.5700016
Posted: Wed Sep 26 10:37:00 1984
Date-Received: Fri, 28-Sep-84 06:42:11 EDT
References: <12150@sri-arpa.UUCP>
Lines: 13
Nf-ID: #R:sri-arpa:-1215000:ea:5700016:000:555
Nf-From: ea!jejones    Sep 26 09:37:00 1984

/***** ea:net.lang.c / sri-arpa!ARPA /  6:38 pm  Sep 21, 1984 */
(It could be worse:  the JOVIAL I saw masked off bitfields by shifting them
to the high order end of the word, then shifting back to the low order end.
Never heard of the AND instruction, I guess.)
/* ---------- */

Perhaps they wanted to turn them into signed integers? That's what I did
when retrieving bit fields (unless they were wanted as unsigned quantities,
or for comparison with zero--you pegged it on the needless overhead there)
when I wrote a code generator.

						James Jones