1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
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: 2s Complement with hex

  1. Apr 11, 2010 #1
    1. The problem statement, all variables and given/known data

    Which is 2s complement of 0x3D9E

    a) BD9F
    b) BDA0
    c) C262
    d) 3D9E

    2. Relevant equations

    I believe I subract each digit from F

    3. The attempt at a solution


    Someone in my class said the answer was c) but do I still add one? I remember the saying "reverse the bits and and one" does that still apply?

  2. jcsd
  3. Apr 11, 2010 #2
    You are computing 16's complement, not twos complement. And yes, you add 1 at the end to get the answer.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook