Course Hero Logo

Assignment 3.docx - Assignment 3 2.26 You wish to express...

This preview shows page 1 - 2 out of 8 pages.

Assignment 32.26 You wish to express -64 as a 2's complement number.a. How many bits do you need (the minimum number)?
b. With this number of bits, what is the largest positive number you canrepresent? (Please give answer in both decimal and binary.)
c. With this number of bits, what is the largest unsigned number you canrepresent? (Please give answer in both decimal and binary.)
2.27 The LC-3, a 16-bit machine, adds the two 2's complement numbers0101010101010101 and 0011100111001111, producing 1000111100100100.Is there a problem here? If yes, what is the problem? If no, why not?

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 8 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
Dr.BryanGoda
Tags

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture