Chapter 3: 14 (page 238)
Calculate the time necessary to perform a multiply using the approach given in Figure 3.3 and 3.4 if an integer is 8 bits wide and each step of the operation takes 4-time units. Assume that in step 1a an addition is always performed -either the multiplicand will be added, or a zero will be. Also assume that the registers have already been initialized (you are just counting how long it takes to do the multiplication loop itself). If this is being done in hardware, the shifts of the multiplicand and multiplier can be done simultaneously. If this is being done in software, they will have to be done one after the other. Solve for each case.
Short Answer
The time necessary to perform a multiply using the approach given in Figure 3.3 and 3.4 is as follows:
For case 1 -Hardware: 96 time units
For case 2-Software: 160 time units