1. Not finding help here? Sign up for a free 30min 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!

Sign magnitude/1's Complement/2's Complement HELP!

  1. Apr 6, 2007 #1
    1. The problem statement, all variables and given/known data

    a.) What is the lowest number represented by a 12-bit machine using Sign Magnitude?

    b.) What is the largest?

    c.) What decimal number does the bit pattern "101001010010" represent?


    2. Relevant equations

    For a and b:

    Signed integer ranges for N bits (I don't know if this is what I need to use):

    Lowest: -[2^(N-1) - 1]

    Highest: [2^(N-1) - 1]

    3. The attempt at a solution

    a.) -[2^(N-1) - 1]
    -[2^(12-1) - 1]
    -[2^(11) - 1]
    -[2048 - 1]
    -[2047]

    b.) [2^(N-1) - 1]
    [2^(12-1) - 1]
    [2^(11) - 1]
    [2048 - 1]
    [2047]

    c.) Bit pattern: 101001010010
    Signed Magnitude: 101001010010b
    = -01001010010b
    = -[(2^9) + (2^6) + (2^4) + (2^1)]
    = -[512 + 64 + 16 + 2]
    = -[594]
    = -594d
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?