Question: Practice for computer arithmetic For all questions, please show your computation clearly. Consider Fig. B . 5 . 1 2 ( from book / lecture

Practice for computer arithmetic
For all questions, please show your computation clearly.
Consider Fig. B.5.12(from book/lecture note) and explain clearly how slt instruction is
manipulated in the 32-bit ALU.
Also, explain why control signal values for slt instruction are '0111'.
Consider the unsigned number multiplication hardware that we discussed in class.
Assume that the hardware is used for unsigned 4-bit number multiplication (0101**1110)?.
Show the contents of registers for each step of the multiplication using the 2-step multiplication
algorithm.
Consider the Booth's algorithm for 2's complement number multiplication.
(a) Show Booth's recoded number for binary value (1010011101) and justify your answer.
(b) For (1010**0101), i.e.,(-6)**5 in decimal, show the contents of registers for each step.
Perform the restoring division for (10110100), i.e.,114 in decimal, and show the contents
of registers for each step. Also show the resulting quotient and remainder in binary numbers.
Perform the non-restoring division for (10110100), i.e.,114 in decimal, and show the contents
of registers for each step. Also show the resulting quotient and remainder in binary numbers.
Explain briefly how the non-restoring division algorithm achieves higher efficiency
than the restoring division algorithm.
Practice for computer arithmetic For all

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Programming Questions!