Given numbers:
Given Information:
A and B are stored in 16-bit half precision format.
Division:
Booth’s
In order to divide two binary numbers, Booth algorithm is used.
Binary Divisions:
The binary number division follows the multiplication rules:
For example:
“
Explanation of Solution
Calculate:
Converting the above values to binary:
Here, the exponent can be calculated as:
Exponent=
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
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:
The original division in decimal results into:
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 “
Want to see more full solutions like this?
Chapter 3 Solutions
Computer Organization and Design MIPS Edition, Fifth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY