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: Unsigned vs Signed byte numbers

  1. Jul 9, 2009 #1
    some one tell me if this is right

    this is the binary number 11111111

    unsigned = 255 (decimal)

    signed = -1 (decimal)

    is this correct because in my book it says to take the opposite so all 1's become 0's then you add 1 in the LSD.
  2. jcsd
  3. Jul 9, 2009 #2


    User Avatar
    Science Advisor
    Homework Helper

    Assuming the machine uses twos complement - yes
  4. Jul 9, 2009 #3
    yeah it is thanks for the help
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook