欢迎来到天天文库
浏览记录
ID:48584172
大小:487.50 KB
页数:15页
时间:2020-01-23
《CHAPTER 4 The Components of the System 2.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、CHAPTER4TheComponentsoftheSystemUnitProcessorFundamentalConceptsProcessorfetchesoneinstructionatatimeandperformtheoperationspecified.Instructionsarefetchedfromsuccessivememorylocationsuntilabranchorajumpinstructionisencountered.Processorkeepstrackoftheaddressoft
2、hememorylocationcontainingthenextinstructiontobefetchedusingProgramCounter(PC).InstructionRegister(IR)ExecutinganInstructionFetchthecontentsofthememorylocationpointedtobythePC.ThecontentsofthislocationareloadedintotheIR(fetchphase).IR←[[PC]]Assumingthatthememory
3、isbyteaddressable,incrementthecontentsofthePCby4(fetchphase).PC←[PC]+4CarryouttheactionsspecifiedbytheinstructionintheIR(executionphase).InternalorganizationoftheprocessorALURegistersfortemporarystorageVariousdigitalcircuitsforexecutingdifferentmicrooperations.(
4、gates,MUX,decoders,counters).InternalpathformovementofdatabetweenALUandregisters.Drivercircuitsfortransmittingsignalstoexternalunits.Receivercircuitsforincomingsignalsfromexternalunits.PC:KeepstrackofexecutionofaprogramContainsthememoryaddressofthenextinstructio
5、ntobefetchedandexecuted.MAR:Holdstheaddressofthelocationtobeaccessed.I/PofMARisconnectedtoInternalbusandanO/ptoexternalbus.MDR:Containsdatatobewrittenintoorreadoutoftheaddressedlocation.IThas2inputsand2Outputs.DatacanbeloadedintoMDReitherfrommemorybusorfrominter
6、nalprocessorbus.ThedataandaddresslinesareconnectedtotheinternalbusviaMDRandMARALU:Usedtoperformarithmeticandlogicaloperation.DataPath:Theregisters,ALUandinterconnectingbusarecollectivelyreferredtoasthedatapath.Registers:TheprocessorregistersR0toRn-1varyconsidera
7、blyfromoneprocessortoanother.Registersareprovidedforgeneralpurposeusedbyprogrammer.Specialpurposeregisters-index&stackregisters.RegistersY,Z&TEMParetemporaryregistersusedbyprocessorduringtheexecutionofsomeinstruction.Multiplexer:Selecteithertheoutputoftheregiste
8、rYoraconstantvalue4tobeprovidedasinputAoftheALU.Constant4isusedbytheprocessortoincrementthecontentsofPC.Datatransferbetweentworegisters:EX:TransferthecontentsofR1toR4
此文档下载收益归作者所有