(a) Convert the following pairs of decimal numbers to 5-bit, signed, 2's-complement, binary numbers and add them....

Question:

(a) Convert the following pairs of decimal numbers to 5-bit, signed, 2's-complement, binary numbers and add them. State whether or not overflow occurs in each case.

(a) 5 and 10

(b) 7 and 13

(c) -14 and 11

(d) -5 and 7

(e) -3 and -8 (f)-10 and -13

(b) Repeat Part a for the subtract operation, where the second number of each pair is to be subtracted from the first number. State whether or not overflow occurs in each case.

LO1

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Computer Organization

ISBN: 9780072320862

5th Edition

Authors: V Carl Hamacher, Carl Hamacher, Zvonko G Vranesic, Safwat G Zaky

Question Posted: