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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8309f2bc055237c4 X-Google-Attributes: gid103376,public From: Redryder Subject: Re: Bit manipulation Date: 2000/11/11 Message-ID: <3A0DF35D.729DDE15@mindspring.com>#1/1 X-Deja-AN: 692565887 Content-Transfer-Encoding: 7bit References: <8u8v6n$b7o$1@nnrp1.deja.com> <2WTH$pdrCfOd@eisner.decus.org> <8ub6kt$6nd$1@nnrp1.deja.com> <8ubeq8$cgm$1@nnrp1.deja.com> <3A0D38E9.BB87D8CD@mindspring.com> <3A0D86EB.4FAFA2EF@acm.org> X-Accept-Language: en X-Server-Date: 12 Nov 2000 01:41:29 GMT Content-Type: text/plain; charset=us-ascii Organization: MindSpring Enterprises Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-11-12T01:41:29+00:00 List-Id: Jeff, It goes like this: BIT 0 to BIT 31, BIT 31 to BIT 0 , and so on. John Jeff Carter wrote: > Redryder wrote: > > > > I need to swap the bits in a 32-bit word. > > I could perhaps be of more assistance if I knew what you mean by "swap > the bits". > > -- > Jeff Carter > "I unclog my nose towards you." > Monty Python & the Holy Grail