9-Division (Restoring and Non-Restoring) - 02-Aug-2018 - Reference Material I - Division Algorithm
9-Division (Restoring and Non-Restoring) - 02-Aug-2018 - Reference Material I - Division Algorithm
9-Division (Restoring and Non-Restoring) - 02-Aug-2018 - Reference Material I - Division Algorithm
Dr.K.R.Jothi
Associate Professor
SCOPE
Division using Successive Subtraction
A=A-M
=0 A[n] =1
=?
Q[0] = 0
Q[0] = 1
Restore A
n = n -1
No
Is n = 0 ?
Yes
Quotient in Q
Reminder in A
Stop
Restoring Division Algorithm Start
=0 A[n] =1
=?
Q[0] = 0
Q[0] = 1
Restore A
n = n -1
No
Is n = 0 ?
Yes
Quotient in Q
Reminder in A
Stop
Restoring Division Algorithm Start
n = n -1
No
Is n = 0 ?
Yes
Quotient in Q
Reminder in A
Stop
Restoring Division Algorithm Start
No
Is n = 0 ?
Yes
Quotient in Q
Reminder in A
Stop
Restoring Division Algorithm Start
=0 Sign bit =1
of A =?
Q[0] = 1 Q[0] = 0
n = n -1
No Is n = 0 ?
Sign bit
Yes A=A+M
of A =?
Quotient in Q
Reminder in A
Stop
Non-Restoring Division Algorithm Start