SlideShare a Scribd company logo
1 of 4
Download to read offline
Page No.... * * * * *
Roll No. (In Figures).12.0010.0.6...(inWords).One..Iuuo.Zero.Zero..One.zero.ero
..Six.B.Tech.CSE Einal.Examinatien-2021. Medium.English.
Name of the Student.Deebak.kuma.. ...Class/Semester. 29E1..B1eCh..cSE..5..
Name ofPaper...GS.A.. .Codeof Paper.110.64/NJ..Total Number of pages written....1.
120010o6
Date ofExam.23/02 202. Signature
LDeebak kumar
* * * * * * * * *
AnSwer Sheet:
An$:1 AProgramre.sidingin the_memory unitof the Combufer_
ConSists of a sequence ot InstrucHons.
The progrom is exe.cuted inthe Combuter by aning
through 0. Gucle tor each Tnstruc.tion.
The þrocesSinginunlve.d intheexecution ota single Tnst
-Tucion is termed as TnstruttionCucle
EachTnstrucion Cucle is in turn Subdivided into a seq-
-Uence ot Subcycles or bhaSes.
Inbasit Combuter each ToStrucion Cucle consists ot he
tollowing bhases:
1.
Fetch the Tnshru.cion from the mmemory
2 Decode he Instruction
. Reod he effec.hiveaddressfrom thememoryi the
Instruction_has an Indifect Addre.ss.
Execute the Tnstrucion
Fetch Cycle Execute Cucle
Start Fetch Fxecute
LTastruction
Halt
Inskruction
Dpon CombleHon ofsBepiv),the Control goeS back ththe
StebLi to Fetth,decode_and Execute theNexk Tnstruotian
TheprocesSiS Coninous unless a Halt InsBruchionEntounBen
Roll No..1001006... Paper Code .061IN.. Page No . . *sA******
Fetchand Decode:
Stebs Tnvolued in Fetchanddecode the Inshuction:
Step1:nitially,theþrogam Counter PG 1S loaded withtHheaddress
of the Firstinstrucionin thebrogram.
Step2: The Sequence Counter SC iS cleared to0,proyidingtimmin
Signal To
Step3:Tnemicro-oberation forfetch and decode bhases_Can_be
Specified by heFollouwing reqisBerTransfer StatementS
To:AR PC
T:IR< M[ARI,P¢-PCA1
I2 Do, D DecodeIR(12-14) AR-TR(0-11),K-IR5
S2
To BUS
Memory Unit
AddresS
Read
AR 1
PC 2
IR
peppo
LD
clock Dee1ature
11064/N Poge
Rol No
3 .
Page No12001006
Stepu:The above figure showshow the rst tw0 register transer
Statements are imblementedin fhe bus SyStem.
Steb 5:D þmvide the_dato. both for the transfer ot PGto AR
e mUStabbly immin9 Sianal D o achieve the pllowing
ConnecHpns:
LDI6laCe the aontent o PG onto the bus bs making tne bus-
Selechon inbuts S2Siand Sn egual to 010.
lranster the Content t the bus to AR by enahling the
LD inbut o ARR
STep6: n Order, to imblement the Second Stotement i+ 1S
necessary h use imming Sianal þrouide the Falle-
oina Gonnecinns inthe bus Sustem
iEnable the read inbut o memor
GnSlace the ontent o memory ontn bus by making SoSSo
=111
Li Transfer the_content of thebus to IR byenablimg theID
inbut o Po.
Ltu Intre.ment P¢ byenabling the TNR input 0 PC
Steb Moltible inbut OR 9ates are inclucded in he_dfagram bec
-auSe there are other Conhralunchnnsthet inilinitiaf
the similan dherations.
Determine the ube ot nstruction:
he Timminq Signal hot isACtHiveoer fhe decoding isTa
During ime 1a,th Conirnl nit _dekermine the Tue o
the lnsHuttion thatLuaS read om the memaru
f D4=0 and T1, Memoryreterente luith_lndirëct Address
f DE0 and T:0; Memory reterenc.e Luith direct Address_
1f D 1 and 1=0 indicates Reqister-reference Instruchor
f D =1and T:1 indic.ate.s nbut-outhut TnstrucHons
Deepak (umar
Signature
Roll No 120010D6 Paper Code 1061NI Page No_
4.
he Three TnstruciontuhesareSubdiided intotour Seharate
baths
The $elect Oberahion is_activated with_clock tran&iianthat
iS OSSociated uith timingSignal I3.
hisCan be Smbalized as hlo
Da IT3 AR-MIAR]
DiT I3: Nothing
DI132Execute a register-referenc.e Tnshrucion
LD:T3: Execute_an Inbut -Outb1ut LashiiCion
Flnu chart
Start
SC-0
To
AR-TC
Fekch
T
IR-MTARJ, PC<- PCt1
T2
Deco de
Decode oberationCadeIR(2-14
AR4-IR0-11), I4-IR 05)
Execute
CRegister orI/o) =1 0 (Memory-Reference)
6)1/ 0 (register) CTdirect) =i o Cdirec+)
T3
AR-M[AR
T3 T3 T3
Execute Exectie Nothing
Register-
reterence
I/o
InStfucion Execute
SC-O
Memory-reference Ins.
s c-0
SC-0
Deebak kumar
Signature

More Related Content

Recently uploaded

Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
Kamal Acharya
 

Recently uploaded (20)

Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
AI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdfAI in Healthcare Innovative use cases and applications.pdf
AI in Healthcare Innovative use cases and applications.pdf
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Basics of Relay for Engineering Students
Basics of Relay for Engineering StudentsBasics of Relay for Engineering Students
Basics of Relay for Engineering Students
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
Low Altitude Air Defense (LAAD) Gunner’s Handbook
Low Altitude Air Defense (LAAD) Gunner’s HandbookLow Altitude Air Defense (LAAD) Gunner’s Handbook
Low Altitude Air Defense (LAAD) Gunner’s Handbook
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
What is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, FunctionsWhat is Coordinate Measuring Machine? CMM Types, Features, Functions
What is Coordinate Measuring Machine? CMM Types, Features, Functions
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Instruction Cycle.pdf

  • 1. Page No.... * * * * * Roll No. (In Figures).12.0010.0.6...(inWords).One..Iuuo.Zero.Zero..One.zero.ero ..Six.B.Tech.CSE Einal.Examinatien-2021. Medium.English. Name of the Student.Deebak.kuma.. ...Class/Semester. 29E1..B1eCh..cSE..5.. Name ofPaper...GS.A.. .Codeof Paper.110.64/NJ..Total Number of pages written....1. 120010o6 Date ofExam.23/02 202. Signature LDeebak kumar * * * * * * * * * AnSwer Sheet: An$:1 AProgramre.sidingin the_memory unitof the Combufer_ ConSists of a sequence ot InstrucHons. The progrom is exe.cuted inthe Combuter by aning through 0. Gucle tor each Tnstruc.tion. The þrocesSinginunlve.d intheexecution ota single Tnst -Tucion is termed as TnstruttionCucle EachTnstrucion Cucle is in turn Subdivided into a seq- -Uence ot Subcycles or bhaSes. Inbasit Combuter each ToStrucion Cucle consists ot he tollowing bhases: 1. Fetch the Tnshru.cion from the mmemory 2 Decode he Instruction . Reod he effec.hiveaddressfrom thememoryi the Instruction_has an Indifect Addre.ss. Execute the Tnstrucion Fetch Cycle Execute Cucle Start Fetch Fxecute LTastruction Halt Inskruction Dpon CombleHon ofsBepiv),the Control goeS back ththe StebLi to Fetth,decode_and Execute theNexk Tnstruotian TheprocesSiS Coninous unless a Halt InsBruchionEntounBen
  • 2. Roll No..1001006... Paper Code .061IN.. Page No . . *sA****** Fetchand Decode: Stebs Tnvolued in Fetchanddecode the Inshuction: Step1:nitially,theþrogam Counter PG 1S loaded withtHheaddress of the Firstinstrucionin thebrogram. Step2: The Sequence Counter SC iS cleared to0,proyidingtimmin Signal To Step3:Tnemicro-oberation forfetch and decode bhases_Can_be Specified by heFollouwing reqisBerTransfer StatementS To:AR PC T:IR< M[ARI,P¢-PCA1 I2 Do, D DecodeIR(12-14) AR-TR(0-11),K-IR5 S2 To BUS Memory Unit AddresS Read AR 1 PC 2 IR peppo LD clock Dee1ature
  • 3. 11064/N Poge Rol No 3 . Page No12001006 Stepu:The above figure showshow the rst tw0 register transer Statements are imblementedin fhe bus SyStem. Steb 5:D þmvide the_dato. both for the transfer ot PGto AR e mUStabbly immin9 Sianal D o achieve the pllowing ConnecHpns: LDI6laCe the aontent o PG onto the bus bs making tne bus- Selechon inbuts S2Siand Sn egual to 010. lranster the Content t the bus to AR by enahling the LD inbut o ARR STep6: n Order, to imblement the Second Stotement i+ 1S necessary h use imming Sianal þrouide the Falle- oina Gonnecinns inthe bus Sustem iEnable the read inbut o memor GnSlace the ontent o memory ontn bus by making SoSSo =111 Li Transfer the_content of thebus to IR byenablimg theID inbut o Po. Ltu Intre.ment P¢ byenabling the TNR input 0 PC Steb Moltible inbut OR 9ates are inclucded in he_dfagram bec -auSe there are other Conhralunchnnsthet inilinitiaf the similan dherations. Determine the ube ot nstruction: he Timminq Signal hot isACtHiveoer fhe decoding isTa During ime 1a,th Conirnl nit _dekermine the Tue o the lnsHuttion thatLuaS read om the memaru f D4=0 and T1, Memoryreterente luith_lndirëct Address f DE0 and T:0; Memory reterenc.e Luith direct Address_ 1f D 1 and 1=0 indicates Reqister-reference Instruchor f D =1and T:1 indic.ate.s nbut-outhut TnstrucHons Deepak (umar Signature
  • 4. Roll No 120010D6 Paper Code 1061NI Page No_ 4. he Three TnstruciontuhesareSubdiided intotour Seharate baths The $elect Oberahion is_activated with_clock tran&iianthat iS OSSociated uith timingSignal I3. hisCan be Smbalized as hlo Da IT3 AR-MIAR] DiT I3: Nothing DI132Execute a register-referenc.e Tnshrucion LD:T3: Execute_an Inbut -Outb1ut LashiiCion Flnu chart Start SC-0 To AR-TC Fekch T IR-MTARJ, PC<- PCt1 T2 Deco de Decode oberationCadeIR(2-14 AR4-IR0-11), I4-IR 05) Execute CRegister orI/o) =1 0 (Memory-Reference) 6)1/ 0 (register) CTdirect) =i o Cdirec+) T3 AR-M[AR T3 T3 T3 Execute Exectie Nothing Register- reterence I/o InStfucion Execute SC-O Memory-reference Ins. s c-0 SC-0 Deebak kumar Signature