Question

In: Computer Science

Multiply 14 times -5 using 5-bit numbers? Fill in the table for the Product, Multiplier and...

Multiply 14 times -5 using 5-bit numbers?

Fill in the table for the Product, Multiplier and Multiplicand for each step.

You need to provide the DESCRIPTION of the step being performed.

Solutions

Expert Solution

The flowchart of booth's multiplication algorithm for unsigned number is as follows:-

According to the question multiplicand = 14, multiplier = -5

Now using the above flow chart the initial values of the registers are as follows:-

BR = 14 => 5 bit binary representation of BR = 01110

5 bit binary representation of (BR' + 1) = 10010

QR = -5 => 5 bit binary representation of QR = 11011

SC = number of bits in BR/QR => SC = 5 = 101.

Q0Q-1 Operation AC QR Q-1 SC
00000 11011 0 101

10

AC <- AC+BR'+1

ASHR ACQRQ-1

10010

11001

11011

01101

0

1

100

11 ASHR ACQRQ-1 11100 10110 1 011
01

AC <- AC+BR

ASHR ACQRQ-1

01010

00101

10110

01011

1

0

010

10

AC <- AC+BR'+1

ASHR ACQRQ-1

10111

11011

01011

10101

0

1

001

11 ASHR ACQRQ-1 11101 11010 1 000

Since the value of SC becomes 0 therefore we stop the further processing, the final product/ result will be the binary value of ACQR which is (1110111010)2 which is 2's compliment of 70 (that is -70) and hence it is equivalent to decimal value -70, it shows that the answer is correct as 14*-5 will be equal to -70.


Related Solutions

Write the Verilog Code for the module to multiply two 7-bit numbers using the array multiplie
Write the Verilog Code for the module to multiply two 7-bit numbers using the array multiplie
Multiply two binary numbers1101 and 1101 using a serial multiplier. Show all steps in a table.
Multiply two binary numbers1101 and 1101 using a serial multiplier. Show all steps in a table.
using MIPs assembly, ask the user to enter two numbers. Then multiply the two numbers using...
using MIPs assembly, ask the user to enter two numbers. Then multiply the two numbers using bit shifting (not 'mul'). This should work multiplying 2 positive numbers, 2 negative numbers, and a positive/negative number. Then output the result and ask user if he/she has more calculations to complete.
Design a 4-bit multiplier by using 4 bit full adder and write a verilog code.
Design a 4-bit multiplier by using 4 bit full adder and write a verilog code.
Using the following data... (a) Fill in the table: X Y X2 Y2 XY 8 5...
Using the following data... (a) Fill in the table: X Y X2 Y2 XY 8 5 4 3 9 7 7 6 5 6 ΣX = ΣY = ΣX2 = ΣY2 = ΣXY = (b) Compute the degrees of freedom and determine the critical value of r for α = 0.05 (two-tails). df = r-critical =   (c) Compute SSX, SSY, SP, and the Pearson correlation (r). (Use 3 decimals) SSX = SSY = SP = r = (d) What decision...
Using the following data... (a) Fill in the table: X Y X2 Y2 XY 5 2...
Using the following data... (a) Fill in the table: X Y X2 Y2 XY 5 2 7 3 10 4 8 5 7 4 ΣX = ΣY = ΣX2 = ΣY2 = ΣXY = (b) Compute the degrees of freedom and determine the critical value of r for α = 0.05 (two-tails). df = r-critical =   (c) Compute SSX, SSY, SP, and the Pearson correlation (r). (Use 3 decimals) SSX = SSY = SP = r = (d) What decision...
Fill in the following table on the total and marginal utilities of a product A. Also...
Fill in the following table on the total and marginal utilities of a product A. Also answer the questions. Units of product A Total utility Marginal utility 0 0 1 20 _____ 2 35 _____ 3 _____ 10 4 _____ 5 5 _____ 0 6 45 _____ 7 35 _____ 8 _____ −15 (a) Graph both the total utility and marginal utility curves together on the same graph. (Take a picture of It and insert the picture in the right...
Implement a 2 by 2 multiplier using structure VHDL. The circuit will have two 2-bit unsigned...
Implement a 2 by 2 multiplier using structure VHDL. The circuit will have two 2-bit unsigned inputs (A and B), a 4-bit unsigned product outputs (P). you must use some full adders and gates (AND, OR, NOT, XOR).
Implement a 2 by 2 multiplier using structure VHDL. The circuit will have two 2-bit unsigned...
Implement a 2 by 2 multiplier using structure VHDL. The circuit will have two 2-bit unsigned inputs (A and B), a 4-bit unsigned product outputs (P). Please use some full adders and gates (AND, OR, NOT, XOR).
Using this table, please fill the table, draw the stress strain curve and then answer the...
Using this table, please fill the table, draw the stress strain curve and then answer the question. In case where the load is released at point 1 and 2 Draw and show the permanent and the recovery deformations. 0 1 2 3 Force 0 Kn 400 Kn 650 Kn 550 Kn Length 2 cm 2.004 cm 2.036 cm 2.049 cm Diameter 1 cm 0.9995 cm 0.998 cm 0.996 cm ∆L/L ∆d/d ᵋx ᵋz Calculate the Yield stress in the wire...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT