Results 1 to 3 of 3

Thread: Question about Complements

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2005
    Posts
    41

    Question about Complements

    I am working on an assignment and I have been asked the 16-bit two's complement binary representation of 1987

    and then the same 2's complement representation of -1987

    My question is ... should I show

    0000 0111 1100 0011 = 1987
    1111 1000 0011 1100 = One’s Complement

    1111 1000 0011 11 00 = One’s Complement
    0000 0000 0000 00 01 = + 1
    --------------------
    1111 1000 0011 11 01 = Two’s Complement of 1987 = (-1987) ????

    Is that correct that the 16-bit 2's complement of 1987 is -1987???????

    Am I missing somehthing???



    1 1 1 1 1 0 0 0 0 0 1 1 1 1 0 0 One’s Complement + 1
    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
    1 1 1 1 1 0 0 0 0 0 1 1 1 1 0 1 Two’s Complement of 1987 = (-1987)

  2. #2
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Re: Question about Complements

    Perhaps this would help.
    Last edited by oceanebelle; Mar 24th, 2007 at 01:17 AM.

  3. #3
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Question about Complements

    whats your problem????? just showing it in proper way or something else???

    and yes your answer is right!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width