comp.lang.ada
 help / color / mirror / Atom feed
From: john.mccabe@emrad.ns.com (John McCabe)
Subject: Re: bit shift
Date: Mon, 25 Feb 2002 17:20:10 GMT
Date: 2002-02-25T17:20:10+00:00	[thread overview]
Message-ID: <3c7a7202.30143884@news.demon.co.uk> (raw)
In-Reply-To: 3c7a442c$1@pull.gecm.com

On Mon, 25 Feb 2002 14:03:32 -0000, "Stephen Frackelton"
<stephen.frackelton@baesystems.com> 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?




  parent reply	other threads:[~2002-02-25 17:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-25 14:03 bit shift Stephen Frackelton
2002-02-25 15:09 ` Jim Rogers
2002-02-25 15:25   ` A Interfaces package for '83? Petter Fryklund
2002-02-25 20:27   ` bit shift Ted Dennison
2002-02-25 21:47     ` Jim Rogers
2002-02-25 22:59   ` Frank J. Lhota
2002-02-25 17:20 ` John McCabe [this message]
2002-02-25 18:08 ` Robert Dewar
2002-02-26  9:19   ` John McCabe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox