Question: Calculate 14/3 using the optimized algorithm for integer division. Write the solution in a tabular form. Here we assume both integers are in 4 bits.
Calculate 14/3 using the optimized algorithm for integer division. Write the solution in a tabular form. Here we assume both integers are in 4 bits. Calculate 3*14 using the optimized algorithm for integer multiplication. Write the solution in a tabular form. Here we assume both integers are in 4 bits.
an example of what i would want the answer to look like is:

Example multiplicand register product register next action Itr (MD) (PR) 0000 0101 1001 LSB of PR is 1, so PR17:4] PR[7:4]+MD shift PR 1001 0101 1001 1001 0100 1010 LSB of PR is 0, so shift 2 0010 0101 LSB of PR is 1, so 1001 PR[7:4] PR[7:4]+MD 1001 1011 0101 shift PR I 3 0101 1010 1001 LSB of PR is 0, so shift 4 1001 0010 1101 PR is 45, done! IX
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
