Computer Organization and Design MIPS Edition, Fifth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
Question
Book Icon
Chapter 3, Problem 3.31E
Program Plan Intro

Given numbers: 8.625×101 and 4.875×100

Given Information:

A and B are stored in 16-bit half precision format.

Division:

Dividend= Quotient × Dividend + Remainder

Booth’s Algorithm:

In order to divide two binary numbers, Booth algorithm is used.

Binary Divisions:

The binary number division follows the multiplication rules:

0 x 0 = 00 x 1 = 01 x 0 = 01 x 1 = 1 

For example:

1011/11” can be calculated as:

11)1011(11111011110<Remainder(R)

Expert Solution & Answer
Check Mark

Explanation of Solution

Calculate: 8.625×101/4.875×100

Converting the above values to binary:

8.625×101=1.0101100100×26

4.875=1.0011100000×22

Here, the exponent can be calculated as:

Exponent= 62=4,4+15=19(10011)

Here, the sign is negative as one number is negative and the other is positive and hence their division yields a negative sign. It is assumed that it has a guard, a round bit, and a sticky bit.

The fraction generated by 8.625×101/4.875×100 is represented as:

10011100000.|10101100100.0000000000000000|1.0001101100010011110011100000.10000100.00001001110.00001100110.00000100111.000001111.00000001001.1100000101.01000000100.11100000000.011000000000.010011100000.000100100000000.000010011100000.00000011011000000.00000010011100000.00000000110000000

The result of the division is “1.000110110001001111” has a Guard =0, Sticky=1: No Round as it is assumed that it has a guard a sticky bit and it has fixed sign.

Converting the above result into decimal:

1.0001101100×24=1101000001101100=10001.101100=17.6875

The original division in decimal results into:

86.25/4.875=17.692307692307

There was underflow as some information was lost as the result did not fit into the available 10-bit field and the answer differed from decimal by “.00480769230”.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY