Question: Repeat Problem 6-9 for the following cases, and show that overflow occurs in each case. (a) Add +37 to +95. (b) Subtract +37 from 95.
Repeat Problem 6-9 for the following cases, and show that overflow occurs in each case.
(a) Add +37 to +95.
(b) Subtract +37 from –95.
(c) Add -37 to –95.
(d) Subtract –37 from +95.
Data from Problem 6-9
Perform the following operations in the 2’s-complement system. Use eight bits (including the sign bit) for each number. Check your results by converting the binary result back to decimal.

(a)* Add +9 to +6. (b)* Add +14 to -17. (c)* Add +19 to -24. (d)* Add -48 to -80. (e)* Subtract +16 from +17. (f) Subtract +21 from -13. (g) Subtract +47 from +47. (h) Subtract -36 from -15. (i) Add +17 to -17. (j) Subtract -17 from - 17. (k) Add +68 to +45 (1) Subtract -50 from +77
Step by Step Solution
3.36 Rating (149 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
