第二章指令集与例子.ppt

  1. 1、本文档共66页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
CHAPTER 2 Instruction Set Principles and Examples 指令集设计的一些原则和例子 Computer Architecture A Quantitative Approach Chapter2 指令集系统和一些例子 2.1 Introduction 2.2 Classifying Instruction Set Architectures(指令集结构的分类) 2.3 Memory Addressing(内存寻址方式) 2.4 Addressing Modes for Signal Processing 2.5 Type and Size of Operands(操作数类型和大小) 2.6 Operands for Media and Signal Processing 2.7 Operations in the Instruction Set(指令中的操作) 2.8 Operations for Media and Signal Processing 2.9 Instructions for Control Flow(控制流中的指令) 2.10 Encoding an Instruction Set(指令编码) 2.11 The Role of Compilers 2.12 The MIPS Architecture 2.1 介绍 3类应用领域 Desktop Computing(桌面计算) emphasizes performance of programs with integer and floating-point data types, with little regard for program size or processor power consumption Servers(服务器) are used primarily for databases, file server, and Web Applications, plus some time-sharing(分时) applications for many users Embedded Applications (嵌入式应用) value(重视) cost and power, so code size is important because less memory is both cheaper and lower power 指令集设计的任务 Classifying Instruction Set Architectures (指令集系统的分类) Memory Addressing(存储器寻址) Operations in the Instruction Set(指令集的操作) Type and Size of Operands(操作数的大小和类型) Encoding an Instruction Set(指令集的编码) Optimizing an Instruction Set(指令集优化) 2.2 指令系统结构的分类 CPU的特殊内部存储结构 stack architecture (堆栈结构) The operands are implicitly on the top of the stack alp3000/70 accumulator architecture (累加器结构) One operand is implicitly the accumulator PDP-8 GPR(General-Purpose Register) architecture (通用寄存器结构) Have only explicit operandseither registers or memory locations 指令系统结构的分类(2) 指令系统结构的分类(3) ALU的指令 2,3 存储器地址的操作数在ALU的操作的指令 0, 1, 2, 3 Register-Register (0) Load/Store Register-Memory (1) Memory-Memory (2~3) Example : C=A+B executes in three machine types Assuming:op=1byte,M=2 bytes,r=0.5 byte stack architecture Push A Push B Add Pop C GPR architecture 三种通用计算机的优点和缺点 指令系统结构的分类(3) Operation categories(指令集类型) CI

文档评论(0)

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

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

1亿VIP精品文档

相关文档