Question: Assume A and B are signed 8-bit decimal integers stored in sign magnitude format. Calculate A + B. Is there overflow, underflow, or neither? Overflow

Assume A and B are signed 8-bit decimal integers stored in sign magnitude format. Calculate A + B. Is there overflow, underflow, or neither?


Overflow occurs when a result is too large to be represented accurately given a finite word size. Underflow occurs when a number is too small to be represented correctly—a negative result when doing unsigned arithmetic, for example. (The case when a positive result is generated by the addition of two negative integers is also referred to as underflow by many, but in this textbook, that is considered an overflow.) The following table shows pairs of decimal numbers.a. b. A 216 185 B 255 122

a. b. A 216 185 B 255 122

Step by Step Solution

3.40 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

In signmagnitude format for 8bit decimal integers the most significan... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Organization Design Questions!