Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

tinamaze91

  • 3 years ago

Convert the following decimal negative numbers to their 8-bit, 2’s complement formulation: -1, -99, -123

  • This Question is Open
  1. edr1c
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    do you know how to find the 1's complement for the numbers? the 2's complement = 1's complement + 1 or you can use the general formula, the n-bit 2's complement of a positive integer X, \[X'=2^{n}-X\]

  2. edr1c
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    i'll do 1 example. +1 in 8-bit representation = 0000 0001 -1 in 1's complement = 1111 1110 -1 in 2's complement = 1111 1111 using the formula, \[X'=2^8-1\]\[X'=256-1=255_{10}=11111111_{2}\]

  3. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy