SlideShare a Scribd company logo
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

Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
SakkaravarthiShanmug
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
Madan Karki
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
IJECEIAES
 

Recently uploaded (20)

Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
cnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classicationcnn.pptx Convolutional neural network used for image classication
cnn.pptx Convolutional neural network used for image classication
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
Seminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptxSeminar on Distillation study-mafia.pptx
Seminar on Distillation study-mafia.pptx
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
 

Featured

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
Neil Kimberley
 
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)
contently
 
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
Albert Qian
 
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)
 
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
Search Engine Journal
 
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
SpeakerHub
 
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
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
Tessa Mero
 
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
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
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
MindGenius
 
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...
RachelPearson36
 
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...
Applitools
 
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
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
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
Project for Public Spaces & National Center for Biking and Walking
 
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...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 

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