Recommended
Mobile Customer Experience Management.pptx
Social Web multimedia analytics goals _
Hardwires and Microprogrammed Control ,
Non -Restoring Algorithm _
Instruction execution cycle _
Transmission control protocol _
Transmission control protocol ...............................
573137875-Attendance-Management-System-original
Lecture Notes Electrical Wiring System Components
More Related Content
Mobile Customer Experience Management.pptx
Social Web multimedia analytics goals _
More from SwatiHans10 (20) Hardwires and Microprogrammed Control ,
Non -Restoring Algorithm _
Instruction execution cycle _
Transmission control protocol _
Transmission control protocol ...............................
Recently uploaded (20) 573137875-Attendance-Management-System-original
Lecture Notes Electrical Wiring System Components
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Embodied AI: Ushering in the Next Era of Intelligent Systems
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Foundation to blockchain - A guide to Blockchain Tech
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
R24 SURVEYING LAB MANUAL for civil enggi
Mechanical Engineering MATERIALS Selection
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
web development for engineering and engineering
CYBER-CRIMES AND SECURITY A guide to understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
OOP with Java - Java Introduction (Basics)
Project quality management in manufacturing
Restoring Algorithm _1. UNSIGNED DIVISION - RESTORING
ALGORITHM (CO-2, BL-3)
-Anisha Mahato (Assistant Professor, CSE-SPL)
2. FLOWCHART
Start
M<- Divisor
n <- no. Of bits
Q <- Dividend
A <- 0
Shift Left AQ
A= A - M
Sign bit
of A?
Q[0] =0
Restore A
Q[0] = 1
n = n-1
Is n =
0?
Quotient in Q
And Remainder in A
Stop
=1
=0
3. Example:
11(Dividend) / 3 (Divisor) = 3 (Quotient) and 2
(Remainder)
M (Divisor) = 3 = 00011
-M= 11101
Q (Dividend) =11 = 1011
A=0 =00000
4. TRACING
n M A Q Action
4 00011 00000 1011 Initialization
00001 011_ SL AQ
11110 011_ A= A-M
3 00001 0110 Q[0]<-0, Restore A
00010 110_ SL AQ
11111 110_ A=A-M
2 00010 1100 Q[0]<- 0, Restore A
00101 100_ SL AQ
00010 100_ A= A-M
1 00010 1001 Q[0]<- 1
00101 001_ SL AQ
00010 001_ A= A-M
0 00010 0011 Q[0]<- 1