欢迎来到天天文库
浏览记录
ID:39742452
大小:526.85 KB
页数:15页
时间:2019-07-10
《CHAPTER 4 The Components of the System 2. Processor 课件》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、CHAPTER4TheComponentsoftheSystemUnitProcessorFundamentalConceptsProcessorfetchesoneinstructionatatimeandperformtheoperationspecified.Instructionsarefetchedfromsuccessivememorylocationsuntilabranchorajumpinstructionisencountered.Processorkeepstrackoftheaddressoftheme
2、morylocationcontainingthenextinstructiontobefetchedusingProgramCounter(PC).InstructionRegister(IR)ExecutinganInstructionFetchthecontentsofthememorylocationpointedtobythePC.ThecontentsofthislocationareloadedintotheIR(fetchphase).IR←[[PC]]Assumingthatthememoryisbytead
3、dressable,incrementthecontentsofthePCby4(fetchphase).PC←[PC]+4CarryouttheactionsspecifiedbytheinstructionintheIR(executionphase).InternalorganizationoftheprocessorALURegistersfortemporarystorageVariousdigitalcircuitsforexecutingdifferentmicrooperations.(gates,MUX,de
4、coders,counters).InternalpathformovementofdatabetweenALUandregisters.Drivercircuitsfortransmittingsignalstoexternalunits.Receivercircuitsforincomingsignalsfromexternalunits.PC:KeepstrackofexecutionofaprogramContainsthememoryaddressofthenextinstructiontobefetchedande
5、xecuted.MAR:Holdstheaddressofthelocationtobeaccessed.I/PofMARisconnectedtoInternalbusandanO/ptoexternalbus.MDR:Containsdatatobewrittenintoorreadoutoftheaddressedlocation.IThas2inputsand2Outputs.DatacanbeloadedintoMDReitherfrommemorybusorfrominternalprocessorbus.Thed
6、ataandaddresslinesareconnectedtotheinternalbusviaMDRandMARALU:Usedtoperformarithmeticandlogicaloperation.DataPath:Theregisters,ALUandinterconnectingbusarecollectivelyreferredtoasthedatapath.Registers:TheprocessorregistersR0toRn-1varyconsiderablyfromoneprocessortoano
7、ther.Registersareprovidedforgeneralpurposeusedbyprogrammer.Specialpurposeregisters-index&stackregisters.RegistersY,Z&TEMParetemporaryregistersusedbyprocessorduringtheexecutionofsomeinstruction.Multiplexer:SelecteithertheoutputoftheregisterYoraconstantvalue4tobeprovi
8、dedasinputAoftheALU.Constant4isusedbytheprocessortoincrementthecontentsofPC.Datatransferbetweentworegisters:EX:TransferthecontentsofR1toR4
此文档下载收益归作者所有