From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,91e38895ea853f4b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-27 18:30:38 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BDB5FB6.94899C3C@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Query on portable bit extraction References: <9req9o$tlsg8$1@ID-25716.news.dfncis.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 28 Oct 2001 01:30:39 GMT NNTP-Posting-Host: 209.86.204.148 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1004232639 209.86.204.148 (Sat, 27 Oct 2001 18:30:39 PDT) NNTP-Posting-Date: Sat, 27 Oct 2001 18:30:39 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Sat, 27 Oct 2001 18:26:45 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:15305 Date: 2001-10-28T01:30:39+00:00 List-Id: Nick Roberts wrote: > > AI95-133 confirm's this thread's view that the Bit_Order attribute is purely > about how to interpret bit numbers in a record representation clause. As > such, I'm afraid I think it was misconceived. There's no need for it on any > machine, and it doesn't solve the problem that needs solving (that of big > and little endianness). Does anyone have an example where Bit_Order was > actually useful (or vital)? I think you're mistaken. I recall (a) processor(s?) on which bit 1 was the MSB and bit 8 the LSB of a byte. Many big-endian machines use lowest bit # = MSB. -- Jeff Carter "I unclog my nose towards you." Monty Python & the Holy Grail