|
-
Feb 7th, 2006, 06:59 PM
#1
Thread Starter
Junior Member
Help with bit string flicking
can anyone help me with these 2 problems? teacher didn't finish going over the AND NOT 00001 part so I'm kind of lost...
( LCIRC – 2 ( NOT 10110 ) OR ( RSHIFT – 2 (LCIRC –1 10100 AND NOT 00001 ) ) )
and turn that into 3-digit hexadecimal string
Also
Evaluate A27 XOR 4E2
(both are base 16)
how do I do XOR? and after I do that is there anything special I have to do to turn it into a 3-digit hexadecimal string?
kind of lost, if you could explain some of it and show me how to solve them that would really help.
thanks in advance 
edit: typo
Last edited by rjtails23; Feb 8th, 2006 at 09:59 PM.
-
Feb 8th, 2006, 04:02 AM
#2
Re: Help with bit string flicking
Here's some stuff from mathworld.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Feb 8th, 2006, 04:10 AM
#3
Re: Help with bit string flicking
0 xor 0 = 0
1 xor 1 = 0
0 xor 1 = 1
1 xor 0 = 1
Then, for the specific xor operation you must solve, the best thing to do is write the numbers in binary:
A27 = 1010 0010 0111
4E2 = 0100 1110 0010
XOR-ing this (the operation is performed bitwise) yields: 1110 1100 0101 = EC5
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
Feb 8th, 2006, 09:59 PM
#4
Thread Starter
Junior Member
Re: Help with bit string flicking
got it thanks for the help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|