Results 1 to 4 of 4

Thread: Help with bit string flicking

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    27

    Resolved 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.

  2. #2
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    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)

  3. #3
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    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)

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Oct 2005
    Posts
    27

    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
  •  



Click Here to Expand Forum to Full Width