More Related Content More from SwatiHans10 (20)
PPT
Transmission control protocol ...............................
SwatiHans10
Recently uploaded (20) PPTX
Pharmaceuticals and fine chemicals.pptxx
jaypa242004
PDF
6th International Conference on Machine Learning Techniques and Data Science ...
ijistjournal
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
PDF
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
PDF
A presentation on the Urban Heat Island Effect
studyfor7hrs
PPTX
Structural Functiona theory this important for the theorist
cagumaydanny26
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
PDF
UNIT-4-FEEDBACK AMPLIFIERS AND OSCILLATORS (1).pdf
Sridhar191373
PDF
monopile foundation seminar topic for civil engineering students
Ahina5
Non -Restoring Algorithm _1. Start
n <- no. of bits
M<- Divisor
A<- 0
Q<- Dividend
Sign bit
of A?
Shift Left AQ
A = A + M
Shift Left AQ
A = A - M
=0
=1
Sign bit of
A?
Q0 <- 0
Q0 <- 1
n = n-1
Is n = 0?
Yes
Sign bit of
A?
No
Quotient in Q and
Remainder in A
Stop
A = A-M
=0
=1
=1
=0
2. 11(Dividend) /3 (Divisor) = 3 (Quotient) and 2 (Remainder)
• M (Divisor) = 3 = 00011
• -M= 11101
• Q (Dividend) =11 = 1011
• A (Accumulator) =0 =00000
3. Tracing
n M A Q Action/Comment
4 00011 00000 1011 Initialization
00001 011_ SL
AQ
11110 011_ A = A - M
3 11110 0110 Q0 <- 0
11100 110_ SL
AQ
11111 110_ A = A+M
2 11111 1100 Q0 <- 0
11111 100_ SL
AQ
00010 100_ A = A+M
1 00010 1001 Q0 <- 1
00101 001_ SL