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,1048aea26a740e29,start X-Google-Attributes: gid103376,public From: grant@cs.fsu.edu (Joshua Grant) Subject: Bit operators Date: 2000/02/12 Message-ID: <884o85$jjv$1@news.fsu.edu>#1/1 X-Deja-AN: 585126206 X-Complaints-To: abuse@fsu.edu X-Trace: news.fsu.edu 950395973 20095 128.186.121.41 (12 Feb 2000 22:52:53 GMT) Organization: FSU Computer Science Department NNTP-Posting-Date: 12 Feb 2000 22:52:53 GMT Newsgroups: comp.lang.ada Date: 2000-02-12T22:52:53+00:00 List-Id: I was recently assigned a project for one of my classes that gave us the option of implementing a simplified MIPS assempler in any preferred higher level language. I have choosen ADA, but I am running into a problem with the bit operators. I can't find them! In case someone isn't sure of my question. In C++ if you perform an 'and' operation with the '&' operator like... base 10 1 = 1 & 3 3 = 3 & 3 2 = 6 & 3 3 = 7 & 3 base 2 (same as above) 001 = 001 & 011 011 = 011 & 011 010 = 110 & 011 011 = 111 & 011 Can anyone tell me if ADA has an equivalent set of functions for 'and' and 'or'? If you know please respond ASAP, I need to know if I should rewrite my project in a language that supports those operations. Thanks, Josh