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!
Students have asked these similar questions
Refer to page 140 for problems on PKI and encryption. Instructions: • Simulate a PKI system, including the generation of public-private key pairs and digital certificates. • Demonstrate secure communication between two parties using the certificates. • Explain certificate validation and revocation processes. Link: [https://drive.google.com/file/d/1wKSrun-GlxirS31Z9qo Hazb9tC440 AZF/view?usp=sharing]
Refer to page 155 for problems on search engine basics. Instructions: • Build an inverted index for a collection of text documents. • • Demonstrate how to use the index for efficient keyword search. Analyze space and time efficiency compared to a sequential search. Link: [https://drive.google.com/file/d/1wKSrun-GlxirS3IZ9qo Hazb9tC440 AZF/view?usp=sharing]
Refer to page 160 for problems on loT device management. Instructions: • Simulate an energy-efficient sensing algorithm for loT devices. Demonstrate how duty cycling reduces power consumption while maintaining data accuracy. • Compare energy usage before and after optimization. Link: [https://drive.google.com/file/d/1wKSrun-GlxirS31Z9qoHazb9tC440AZF/view?usp=sharing]
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
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