Processor Types And Instruction Sets.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Processor Types And Instruction Sets.ppt

Processor Types And Instruction Sets Barak Perelman CS147 Prof. Lee ISA Instruction Set Architecture All programmer accessible hardware instructions for that hardware System as Whole CPU (Central Processing unit) interaction with main memory (its internal memory) Input Output System Bus CPU connected with main memory I/O via System Bus CPU – generates addresses placed on Address bus Memory – receives addresses from Address bus THIS PROCESS NEVER REVERSED CPU Memory Since CPU executes instructions, and all instructions/data stored in Memory. Instructions/data must be loaded to CPU registers, and results stored back in Memory. A Bit about Memory (no pun intended) Memory is a collection of consecutive cells = 1 byte (8 bits) Each cell has address/memory location Group of cells = WORD usually 4 Bytes Convention: WORD accessed by referencing byte with lowest byte Computers memory is an “array” of bytes CPU – 2 Sections 1. Data Section – Registers ALU 2. Control Section – interprets instructions and controls register transfers – executes instructions stored in main memory Interface between Data and Control Units Register 1: Program Counter (PC) or IP (“Instruction Pointer” in IA) – address of instruction executed Register 2: Instruction register (IR) – fetched instruction (PC pointed) stored in IR and interpreted FETCH-EXECUTE CYCLE Fetch next instruc. To be exec. from memory Decode operation code Read operand(s) from main memory if any Exec. Instruc. and store results if any Go step 1 Control unit Data unit (datapath) again… Control unit – decodes instruction after fetch, and performs specific action. Coordinates this in execution of program. Datapath – Collection of registers (register file) , arithmetic and logic unit, and other registers. Datapath - Register file Register file – used like temporary “memory” during computation. Can be many register files (depend on CPU). Each has own address (in sequence, like main memory, but with much smaller addresses

文档评论(0)

shengyp + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档