Home > College Algebra calculators > Restoring Division Algorithm For Unsigned Integer example

1. Restoring Division Algorithm For Unsigned Integer example ( Enter your problem )
  1. Algorithm & 11 divided by 3, Example-1
  2. 7 divided by 6, Example-2
  3. 13 divided by 4, Example-3
Other related methods
  1. Restoring Division Algorithm For Unsigned Integer
  2. Non-Restoring Division Algorithm For Unsigned Integer

2. 7 divided by 6, Example-2
(Previous example)
2. Non-Restoring Division Algorithm For Unsigned Integer
(Next method)

3. 13 divided by 4, Example-3





Find 13 divided by 4 using Restoring Division Algorithm For Unsigned Integer

Solution:
Dividend = 13
Divisor = 4
First the registers are initialized with corresponding values (Q = Dividend, M = Divisor, A = 0, n = number of bits in dividend)
nMAQOperation
400100000001101initialize
40010000001101_shift left AQ
0010011101101_A=A-M
00100000011010Q[0]=0 And restore A
30010000011010_shift left AQ
0010011111010_A=A-M
00100000110100Q[0]=0 And restore A
20010000110100_shift left AQ
0010000010100_A=A-M
00100000101001Q[0]=1
10010000101001_shift left AQ
0010000001001_A=A-M
00100000010011Q[0]=1

register Q contain the quotient 3 and register A contain remainder 1


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



2. 7 divided by 6, Example-2
(Previous example)
2. Non-Restoring Division Algorithm For Unsigned Integer
(Next method)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.