From: grant@cs.fsu.edu (Joshua Grant)
Subject: Bit operators
Date: 2000/02/12
Date: 2000-02-12T22:52:53+00:00 [thread overview]
Message-ID: <884o85$jjv$1@news.fsu.edu> (raw)
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
next reply other threads:[~2000-02-12 0:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-12 0:00 Joshua Grant [this message]
2000-02-13 0:00 ` Bit operators Robert Dewar
2000-02-13 0:00 ` Gautier
2000-02-13 0:00 ` Matthew Heaney
2000-02-13 0:00 ` Bit operators & asm in Ada (novice question) G
2000-02-13 0:00 ` Gautier
2000-02-13 0:00 ` Vladimir Olensky
2000-02-13 0:00 ` Bit operators Gautier
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox