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

2. Non-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)

3. 13 divided by 4, Example-3





Find 13 divided by 4 using Non-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
11101101_A=A-M
111011010Q[0]=0
30010011011010_shift left AQ
11111010_A=A+M
111110100Q[0]=0
20010011110100_shift left AQ
00010100_A=A+M
000101001Q[0]=1
10010000101001_shift left AQ
00001001_A=A-M
000010011Q[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)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.