Chapter1ComputerAbstractionsandTechnologyChapter1—ComputerAbstractionsandTechnology—2TheComputerRevolutionProgressincomputertechnologyUnderpinnedbyMoore’sLawWhatisMoore’sLaw???Moore'slawdescribesalong-termtrendinthehistoryofcomputinghardware.Thequantityoftransistorsthatcanbeplacedinexpensivelyonanintegratedcircuithasdoubledapproximatelyeverytwoyears.§1.1IntroductionMoore’sLawChapter1—ComputerAbstractionsandTechnology—3Thetrendhascontinuedformorethanhalfacenturyandisnotexpectedtostopuntil2015orlater.Chapter1—ComputerAbstractionsandTechnology—4TheComputerRevolutionMakesnovelapplicationsfeasibleComputersinautomobiles§1.1IntroductionChapter1—ComputerAbstractionsandTechnology—5TheComputerRevolutionMakesnovelapplicationsfeasibleCellphones§1.1IntroductionChapter1—ComputerAbstractionsandTechnology—6TheComputerRevolutionMakesnovelapplicationsfeasibleHumangenomeprojectWorldWideWebSearchEngines§1.1IntroductionChapter1—ComputerAbstractionsandTechnology—7TheComputerRevolutionComputersarepervasive§1.1IntroductionChapter1—ComputerAbstractionsandTechnology—8ClassesofComputersQuestion:Howdoyouclassifycomputers?DesktopComputersServerComputersEmbeddedComputersChapter1—ComputerAbstractionsandTechnology—9ClassesofComputersDesktopcomputersPCGeneralpurpose,varietyofsoftwareSubjecttocost/performancetradeoffChapter1—ComputerAbstractionsandTechnology—10ClassesofComputersServercomputersNetworkbasedHighcapacity,performance,reliabilityRangefromsmallserverstobuildingsizedWorld’ssmallestwebserverChapter1—ComputerAbstractionsandTechnology—11ClassesofComputersEmbeddedcomputersHiddenascomponentsofsystemsStringentpower/performance/costconstraintsChapter1—ComputerAbstractionsandTechnology—12TheProcessorMarketChapter1—ComputerAbstractionsandTechnology—13WhatYouWillLearnHowprogramsaretranslatedintothemachinelanguageAndhowthehardwareexecutesthemThehardware/softwareinterfaceWhatdeterminesprogramperformanceAndhowitcanbeimprovedHowhardwaredesignersimproveperformanceWhatisparallelprocessingChapter1—ComputerAbstractionsandTechnology—14LevelsofProgramCodeHigh-levellanguageLevelofabstractionclosertoproblemdomainProvidesforproductivityandportabilityAssemblylanguageTextualrepresentationofinstructionsHardwarerepresentationBinarydigits(bits)EncodedinstructionsanddataChapter1—ComputerAbstractionsandTechnology—15BelowYourProgramApplicationsoftwareWritteninhigh-levellanguage(HLL)SystemsoftwareCompiler:translatesHLLcodetomachinecodeOperatingSystem:servicecodeHandlinginput/outputManagingmemoryandstorageSchedulingtasks&sharingresourcesHardwareProcessor,memory,I/Ocontrollers§1.2BelowYourProgramChapter1—ComputerAbstractionsandTechnology—16UnderstandingPerformanceAlgorithmDeterminesnumberofoperationsexecutedProgramminglanguage,compiler,architectureDeterminenumberofmachineinstructionsexecutedperoperationProcessorandmemorysystemDeterminehowfastinstructionsareexecutedI/Osystem(includingOS)DetermineshowfastI/OoperationsareexecutedChapter1—ComputerAbstractionsandTechnology—17ComponentsofaComputerSamecomponentsforallkindsofcomputerDesktop,server,embeddedInput/outputincludesUser-interfacedevicesDisplay,keyboard,mouseStoragedevicesHarddisk,CD/DVD,flashNetworkadaptersForcommunicatingwithothercomputers§1.3UndertheCoversTheBIGPictureChapter1—ComputerAbstractionsandTechnology—18Anatomy(结构)ofaComputerOutputdeviceInputdeviceInputdeviceNetworkcableChapter1—ComputerAbstractionsandTechnology—19AnatomyofaMouseOpticalmouseLEDilluminatesdesktopSmalllow-rescameraBasicimageprocessorLooksforx,ymovementButtons&wheelSupersedesroller-ballmechanicalmouseChapter1—ComputerAbstractionsandTechnology—20ThroughtheLookingGlassLCDscreen:pictureelements(pixels)MirrorscontentofframebuffermemoryChapter1—ComputerAbstractionsandTechnology—21OpeningtheBoxChapter1—ComputerAbstractionsandTechnology—22InsidetheProcessor(CPU)Datapath:performsoperationsondataControl:sequencesdatapath,memory,...CachememorySmallfastSRAMmemoryforimmediateaccesstodataSRAM–StaticRandomAccessMemoryChapter1—ComputerAbstractionsandTechnology—23InsidetheProcessorAMDBarcelona:4processorcoresChapter1—ComputerAbstractionsandTechnology—24ASafePlaceforDataVolatile(易变的)mainmemoryLosesinstructionsanddatawhenpoweroffNon-volatilesecondarymemoryMagneticdiskFlashmemoryOpticaldisk(CDROM,DVD)Chapter1—ComputerAbstractionsandTechnology—25NetworksCommunicationandresourcesharingLocalareanetwork(LAN):EthernetWithinabuildingWideareanetwork(WAN):theInternetChapter1—ComputerAbstractionsandTechnology—26AbstractionsInstructionSetArchitecture(ISA)Aninterfacebetweenthehardwareandthelowest-levelsoftwareTheabstractimageofacomputingsystemthatisseenbyamachine/assemblylanguageprogrammerIncludinginstructions,registers,memoryaccess,I/O,…TheBIGPictureISAsSystem/360andupwardscompatiblesuccessorsz/ArchitecturePowerArchitecturePDP-11SPARCSuperHTricoreTransputerUNIVAC1100/2200seriesVAXx86IA-32(32-bitx86,firstimplementedintheIntel80386)x86-64(64-bitsupersetofIA-3