Using a 4-bit version of the algorithm to save pages, divide 11ten by 4ten, or 00001011two by 0100 two. Use the algorithm outlined in the flowchart in figure 3.9 and fill in what numbers, in the table, would populate in the Quotient, Divisor, and Remainder in each step of each iteration.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Only typed answer please... don't attach pictures... please help me ...

not sure if my values are correct if yall could look through and correct me please I would appreciate it !

4. Using a 4-bit version of the algorithm to save pages, divide 11ten by 4ten, or 00001011two by
0100two. Use the algorithm outlined in the flowchart in figure 3.9 and fill in what numbers, in the
table, would populate in the Quotient, Divisor, and Remainder in each step of each iteration.
Remainder
0000 1011
0011
Iteration
0
1
2
3
4
divisor properly, relative to the dividend for the next iteration. These steps are repeated 33 times.
5
Step
Initial Values
1: Rem Rem-Div
2b. Rem<0->+Div, ssl Q
QO=0
3. Shift right Div
1: Rem Rem-Div
2b. Rem<0->+Div, ssl Q
QO=0
3. Shift right Div
1: Rem = Rem-Div
2b. Rem<0->+Div, ssl Q
QO=0
3. Shift right Div
1: Rem Rem-Div
2b. Rem<0->+Div, ssl Q
QO=0
3. Shift right Div
1: Rem Rem-Div
2b. Rem<0->+Div, ssl Q
QO=0
3. Shift right Div
Quotient
0000
0010
0010
0001
Divisor
0100 0000
1000
1.000
0006
2011
coll
Transcribed Image Text:4. Using a 4-bit version of the algorithm to save pages, divide 11ten by 4ten, or 00001011two by 0100two. Use the algorithm outlined in the flowchart in figure 3.9 and fill in what numbers, in the table, would populate in the Quotient, Divisor, and Remainder in each step of each iteration. Remainder 0000 1011 0011 Iteration 0 1 2 3 4 divisor properly, relative to the dividend for the next iteration. These steps are repeated 33 times. 5 Step Initial Values 1: Rem Rem-Div 2b. Rem<0->+Div, ssl Q QO=0 3. Shift right Div 1: Rem Rem-Div 2b. Rem<0->+Div, ssl Q QO=0 3. Shift right Div 1: Rem = Rem-Div 2b. Rem<0->+Div, ssl Q QO=0 3. Shift right Div 1: Rem Rem-Div 2b. Rem<0->+Div, ssl Q QO=0 3. Shift right Div 1: Rem Rem-Div 2b. Rem<0->+Div, ssl Q QO=0 3. Shift right Div Quotient 0000 0010 0010 0001 Divisor 0100 0000 1000 1.000 0006 2011 coll
1. Subtract the Divisor register from the
Remainder register and place the
result in the Remainder register
Remainder 20
Start
Test Remainder
2a. Shift the Quotient register to the left,
setting the new rightmost bit to 1
Remainder <0
2b. Restore the original value by adding
the Divisor register to the Remainder
register and placing the sum in the
Remainder register. Also shift the
Quotient register to the left, setting the
new least significant bit to 0
3. Shift the Divisor register right 1 bit
5th repetition?
Done
No: < 5 repetitions
Yes: 5 repetitions
FIGURE 3.9 A division algorithm, using the hardware in Figure 3.8. If the remainder is positive,
the divisor did go into the dividend, so step 2a generates a I in the quotient. A negative remainder after
Transcribed Image Text:1. Subtract the Divisor register from the Remainder register and place the result in the Remainder register Remainder 20 Start Test Remainder 2a. Shift the Quotient register to the left, setting the new rightmost bit to 1 Remainder <0 2b. Restore the original value by adding the Divisor register to the Remainder register and placing the sum in the Remainder register. Also shift the Quotient register to the left, setting the new least significant bit to 0 3. Shift the Divisor register right 1 bit 5th repetition? Done No: < 5 repetitions Yes: 5 repetitions FIGURE 3.9 A division algorithm, using the hardware in Figure 3.8. If the remainder is positive, the divisor did go into the dividend, so step 2a generates a I in the quotient. A negative remainder after
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Security Techniques and tools
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education