plz plz reply fast

Discussion in 'Programmer's Corner' started by varunpatilkarad, Mar 28, 2009.

  1. varunpatilkarad

    Thread Starter New Member

    Mar 21, 2009
    what is the logic 4 converting gray 2 binary in 8085 coding
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    Make a truth table that relates the gray code to binary. Devise some way to use the gray code to automatically select the proper binary. You can make a simple algorithm to actually modify the gray code into binary, or use the gray code as an offset pointer into a table containing the binaries.
  3. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    I found these with google:

    And this PDF: Page 3 (PDF page 10) of this PDF shows truth table. That document is for converting binary to grey code using XOR gates, the K-Map is shown, so the inverse should be straightforward.