Question: Using a table similar to that shown in Figure 3.11, calculate A divided by B using non-restoring division. You should show the contents of each

Using a table similar to that shown in Figure 3.11, calculate A divided by B using non-restoring division. You should show the contents of each register on each step. Assume A and B are 6-bit unsigned integers.

Figure 3.11Iteration 0 1 2 3 4 5 Step Initial values 1: Rem = Rem - Div 2b: Rem <0+Div, sll Q, QO=0 3: Shift Div right


Figure 3.10 describes a restoring division algorithm, because when subtracting the divisor from the remainder produces a negative result, the divisor is added back to the remainder (thus restoring the value). However, there are other algorithms that have been developed that eliminate the extra addition. Many references to these algorithms are easily found on the web. We will explore these algorithms using the pairs of octal numbers in the following table.

Figure 3.102a Start 1. Subtract the Divisor register from the Remainder register and place the result in the Remaindera. b. A 26 37  05 15

Iteration 0 1 2 3 4 5 Step Initial values 1: Rem = Rem - Div 2b: Rem

Step by Step Solution

3.44 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To perform nonrestoring division using a table similar to Figure 311 well use the pairs of octal num... View full answer

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 Computer Organization Design Questions!