预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共28页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

ACloserLookattheProcessorandPrimaryStorage仔细看看处理器和主存储器Wehavelearnedthatallcomputershavesimilarcapabilitiesandperformessentiallythesamefunctions,althoughsomemightbefasterthanothers.Wehavealsolearnedthatacomputersystemhasinput,output,storage,andprocessingcomponents;thattheprocessoristhe“intelligence”ofacomputersystem;andthatasinglecomputersystemmayhaveseveralprocessors.Wehavediscussedhowdataarerepresentedinsideacomputersysteminelectronicstatescalledbits.Wearenowreadytoexposetheinnerworkingsofthenucleusofthecomputersystem—theprocessor.我们已经知道,所有的计算机都具有相似的能力,并且在本质上执行相同的功能,尽管一些可能会比另一些快一点。我们也知道,一个计算机系统具有输入,输出,存储和处理部件;处理器是一个计算机系统智能核心,并且一个计算机系统可以有许多个处理器。我们已经讨论过如何在计算机系统内部,用被称作“位”的电子状态来表现数据,现在我们要弄明白计算机系统的核心,即处理器,的内在的工作方式。Theinternaloperationofacomputerisinteresting,buttherereallyisnomysterytoit.Themysteryisinthemindsofthosewholistentohearsayandbelievescience-fictionwriter.Thecomputerisanonthinkingelectronicdevicethathastobepluggedintoanelectricalpowersource,justlikeatoasteroralamp.计算机的内部操作很有意思,但确实没有什么神秘可言。所谓的神秘只是存在于那些听信传闻和相信科幻小说作家的人的意识中。计算机就是一种没有思想的需要接通电源的电子设备而已,与烤面包机和台灯差不多。Literallyhundredsofdifferenttypesofcomputersaremarketedbyscoresofmanufacturers[1].Thecomplexityofeachtypemayvaryconsiderably,butintheendeachprocessor,sometimescalledthecentralprocessingunitorCPU,hasonlytwofundamentalsections:thecontrolunitandthearithmeticandlogicunit.Primarystoragealsoplaysanintegralpartintheinternaloperationofaprocessor.Thesethree—primarystorage,thecontrolunit,andthearithmeticandlogicunit—worktogether.Let’slookattheirfunctionsandtherelationshipsbetweenthem.不加夸张地讲,市场上有几百种不同类型的计算机在销售.每种电脑在复杂性上可能有很大区别,但归根结底,每种处理器,有时称为中央处理器即cpu,只有两个基本部分:控制单元和计算逻辑单元.主内存在处理器内部操作中也是一个不可缺少的部分.这三个部件--主内存,控制单元和计算逻辑单元--一起工作.然我们看看它们(各自的)功能和它们之间的联系。Unlikemagneticsecondarystoragedevices,suchastapeanddisk,primarystoragehasnomovingparts.Withnomechanicalmovement,datacanbeaccessedfromprimarystorageatelectronicspeeds,orclosetothespeedoflight.Mostoftoday’scomputersuseDRAM(DynamicRandom-AccessMemory)technologyforprimarystorage