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,6c373417187a0709 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-25 09:20:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!dispose.news.demon.net!news.demon.co.uk!demon!pipehawk.demon.co.uk!not-for-mail From: john.mccabe@emrad.ns.com (John McCabe) Newsgroups: comp.lang.ada Subject: Re: bit shift Date: Mon, 25 Feb 2002 17:20:10 GMT Organization: Emrad Ltd Message-ID: <3c7a7202.30143884@news.demon.co.uk> References: <3c7a442c$1@pull.gecm.com> NNTP-Posting-Host: pipehawk.demon.co.uk X-NNTP-Posting-Host: pipehawk.demon.co.uk:158.152.226.81 X-Trace: news.demon.co.uk 1014657569 nnrp-10:3322 NO-IDENT pipehawk.demon.co.uk:158.152.226.81 X-Complaints-To: abuse@demon.net X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:20380 Date: 2002-02-25T17:20:10+00:00 List-Id: On Mon, 25 Feb 2002 14:03:32 -0000, "Stephen Frackelton" wrote: >does a bit shift operation / mechanism exist in ada83 ? >i'm doing some checksum algorithm work and want to cyclically rotate bits a >number of places within a word. There is nothing defined in the Ada 83 LRM to provide this facility directly, but there is often a package provided by your compiler vendor that will do it. In TLD Mil-Std-1750A compiler there was a package called (I think) BITS. Look in your compiler documentation and you may find something. As a matter of interest, what compiler are you using?