A community for students.
Here's the question you clicked on:
 0 viewing
Curry
 one year ago
Two's complement question.
Curry
 one year ago
Two's complement question.

This Question is Closed

dan815
 one year ago
Best ResponseYou've already chosen the best response.1hi, so instead of just giving you the trick to 2s compliment, do you understand how or why the 2s compliment is constructed?

Curry
 one year ago
Best ResponseYou've already chosen the best response.0if it's positive, i just keep it the same. and if it's negative, i write the positive number, flip the bits, and add 1 right?

Curry
 one year ago
Best ResponseYou've already chosen the best response.0well 131 can be represented with just 8, but wouldn't the first number represent negative and postive?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0for twos compliment notation, generally you add a single bit, but there is a special exception

Curry
 one year ago
Best ResponseYou've already chosen the best response.0or do we not need to worry about signed magnitude arch?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0For example, for two bits we have: 00 = 0 01 = 1 10 = 2 11 = 1 Our range is 2 to 1, which is given by \(2^{n1}\) to \(2^{n1}1\).

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0So 8 bits will support 128 to 127

Curry
 one year ago
Best ResponseYou've already chosen the best response.0do we just subtract 1 and flip the bits?

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0If you add \(1+2\), we have \(01 + 10 = 11\) which is \(1\).

anonymous
 one year ago
Best ResponseYou've already chosen the best response.0It wraps around so that addition will still work.
Ask your own question
Sign UpFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.