Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Convert signed hex to decimal

  1. Oct 12, 2011 #1
    1. The problem statement, all variables and given/known data

    convert signed hex to decimal, 8230

    2. Relevant equations

    3. The attempt at a solution

    i first make 2's complement of 8230 bcz it is negative

    then i convert it to decimal

    7dd6=32214 in decimal

    my answer is -32214

    but i checked the solution on the book ,it was different .. -32208
    i want to know where is my mistake ?
    did i do the steps of the converstion right ?

    thanx alot ...
  2. jcsd
  3. Oct 12, 2011 #2


    Staff: Mentor

    The above has a mistake.
    The ones' complement of 8230 is 7DCF. Adding 1 gives you 7DD0, which is 32208 in base-10.
  4. Oct 17, 2011 #3
    thnx alot
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook