计算机指令集

指令系统 (Instruction Set)

An instruction set can be defined as a group of instruction that a processor can execute to perform different operations. On the basis of complexity and the number of instruction used the instruction set can be classified as

指令集可以定义为处理器可执行以执行不同操作的一组指令。 根据复杂性和使用的指令数量,可以将指令集分类为

  1. Complex Instruction set

    复杂指令集

  2. Reduced Instruction set

    精简指令集

1)复杂指令集 (1) Complex Instruction set)

The complex instruction set is the set of instruction which includes very complex and large number of instructions. The number of instruction in this set varies from 100 to 250. The instruction in this set is mostly memory based instruction, which involves frequent to the memory. The complex instruction set makes use of a large number of addressing modes because of the frequent references to register as well as memory. The instruction in this instruction takes a lot of time because the instructions format which is not limited to only 32 bit.

复杂指令集是包括非常复杂和大量指令的指令集。 该集中的指令数量从100到250不等。该集中的指令主要是基于内存的指令,涉及到内存频繁。 由于频繁引用寄存器和存储器,因此复杂的指令集使用了大量的寻址模式。 该指令中的指令要花费很多时间,因为指令格式不仅限于32位。

The complex which makes use of complex instruction set is called Complex Instruction set Computer (CISC). The instruction set of CISC has a large number of instruction and for each instruction type.

利用复杂指令集的复合体称为复杂指令集计算机(CISC)。 对于每种指令类型,CISC的指令集都有大量指令。

Advantages of Complex Instruction Set

复杂指令集的优点

  • There is no need to invent an instruction set for each new design. The instruction set of the predecessor is used by the new user.

    无需为每个新设计发明一套指令集。 新用户使用前身的指令集。

  • A program written in CISC require less memory space as the code is confined to less number of instruction.

    用CISC编写的程序需要较少的存储空间,因为代码仅限于较少的指令数。

  • CISC makes the job of a computer easier by facilitating the implementation of high-level language constructs.

    通过促进高级语言结构的实现,CISC使计算机的工作更加轻松。

Disadvantages of Complex Instruction set

复杂指令集的缺点

  • The inheritance of old instruction into new processor increase the complexity.

    将旧指令继承到新处理器中会增加复杂性。

  • Many CISC instructions are not frequently used.

    许多CISC指令不经常使用。

  • CISC command is translated into a large number of lines of microcode which makes the CPU processing slower.

    CISC命令被翻译成大量的微代码行,这使CPU处理速度变慢。

  • CISC system has a complex hardware, so they require more times for designing.

    CISC系统具有复杂的硬件,因此需要更多的时间进行设计。

.minHeight{ min-height: 250px; } @media (min-width: 1025px){ .minHeight{ min-height: 90px; } } .minHeight{ min-height: 250px; } @media (min-width: 1025px){ .minHeight{ min-height: 90px; } }

2)精简指令集 (2) Reduced Instruction Set)

The reduced instruction set refers to a set of instruction that contains very few instructions ranging from 0 to 100. It comprises only those instruction that is frequently used by the processor for the execution of a program. The instruction is generally very simple to execute. The memory-based instruction includes the only load and stores instructions. The instruction in this instruction set has fixed length instruction format of 32 bits. An instruction format divides the bits of instructions into small group fields. Generally, an instruction has the following fields:

精简指令集是指包含很少的0到100范围内的指令的指令集。它仅包括处理器经常用于执行程序的那些指令。 该指令通常很容易执行。 基于存储器的指令仅包括加载和存储指令。 该指令集中的指令具有固定长度的32位指令格式。 指令格式将指令的位分成小组字段。 通常,一条指令具有以下字段:

  • Opcode field

    操作码字段

    It represents the operations to be performed by the instruction.

    它代表指令要执行的操作。

  • Operand field

    操作数字段

    It represents the data on which the operations are to be performed or the memory location or registers where the data is stored.

    它表示要在其上执行操作的数据或存储该数据的存储器位置或寄存器。

  • Mode field

    模式字段

    It represents the method of fetching the operands stored at specified memory location or register.

    它表示获取存储在指定存储位置或寄存器中的操作数的方法。

The comparison of RISC and CISC processor indicated that the RISC processor is always preferred over the CISC processor because of their compact size and small instruction set.

RISC和CISC处理器的比较表明,RISC处理器始终比CISC处理器更受青睐,因为它们具有紧凑的尺寸和小的指令集。

Advantages of Reduced Instruction set computer

精简指令集计算机的优势

The other advantages of RISC processor over the CISC processor are as follow:

RISC处理器相对于CISC处理器的其他优点如下:

  • In RISC processor the instructions are executed by decoding but in CISC processors, the instructions are executed by first and then translating them into equivalent microcode instructions. The conversion of instruction into microcode consumes a lot of space in the memory thereby reducing the speed of executions.

    在RISC处理器中,指令是通过解码执行的,而在CISC处理器中,指令是先执行的,然后将其转换为等效的微码指令。 将指令转换为微代码会占用内存中的大量空间,从而降低了执行速度。

  • The RISC processor executes an instruction in a single clock cycle, while the CISC processor requires multiple clocks cycles for the execution of an instruction.

    RISC处理器在单个时钟周期内执行一条指令,而CISC处理器则需要多个时钟周期才能执行一条指令。

Disadvantages of Reduced Instruction set computer

精简指令集计算机的缺点

The only disadvantages of RISC in comparison to CISC is that the number of instructions required to perform an operation is comparatively large.

与CISC相比,RISC的唯一缺点是执行操作所需的指令数量相对较大。

翻译自: https://www.includehelp.com/cso/instruction-set-and-their-types.aspx

计算机指令集

计算机指令集_计算机科学组织| 指令集及其类型相关推荐

  1. 计算机指令格式_计算机科学组织| 指令格式

    计算机指令格式 指令格式 (Instruction format ) Instruction format describes the internal structures (layout desi ...

  2. 计算机科学导论专业理解,浅析计算机专业_计算机科学导论_课程的现状及思考.doc...

    浅析计算机专业_计算机科学导论_课程的现状及思考 傅勇 1,张琳 2 (1.南昌大学 人民武装学院 计算机系,江西 南昌 330043:2.南昌陆军指挥学院,江西 南昌 330043)摘要:<计 ...

  3. java epson指令集_小票打印机指令集封装(支持EPSON指令)

    最近写了一些关于小票打印机的程序,不难,但是记录下来,作为足迹吧. 现在市场上的小票机基本都支持EPSON指令.指令集文档 对指令集进行了自己的封装,方便以后调用: package aheiziUti ...

  4. 一个机器周期 计算机_计算机科学组织| 机器周期

    一个机器周期 计算机 机器周期 (Machine Cycle) The cycle during which a machine language instruction is executed by ...

  5. 并行计算机架构_计算机科学组织| 并行处理

    并行计算机架构 并行处理 (Parallel Processing) Parallel processing is processing of the data concurrently. We pr ...

  6. 计算机器件及设备毕业设计论文,毕业设计(论文)_计算机科学与技术的应用领域简述论文.doc...

    毕业设计(论文)_计算机科学与技术的应用领域简述论文 <计算机科学引论>课程专题报告 题 目:计算机科学与技术的应用领域简述 学生姓名: 徐铭贝 学 院:信息工程学院 系 别:计算机系 专 ...

  7. 计算机编程导论python程序设计答案-学堂在线_计算机科学与Python编程导论_作业课后答案...

    学堂在线_计算机科学与Python编程导论_作业课后答案 答案: 更多相关问题 近代中国完全沦为半殖民地半封建社会的标志是:A.<马关条约>B.<辛丑条约>C.<凡尔赛和 ...

  8. 北京化工大学计算机专业就业,北京化工大学特色专业介绍_计算机科学与技术_专业课程介绍_专业排名_就业方向...

    北京化工大学特色专业介绍_计算机科学与技术_专业课程介绍_专业排名_就业方向 本专业是任何行业和领域所需的数字信息处理专业.计算机信息技术发展的趋势是多功能化.高效率.高可靠性,它更广泛的适用性和更强 ...

  9. 齐鲁师范学院计算机专业师资,齐鲁师范学院特色专业介绍_计算机科学与技术_专业课程介绍_专业排名_就业方向...

    齐鲁师范学院特色专业介绍_计算机科学与技术_专业课程介绍_专业排名_就业方向 学科:工学 门类:电气信息类 专业名称:计算机科学与技术 业务培养目标:本专业培养具有良好的科学素养,系统地.较好地掌握计 ...

最新文章

  1. redis设置为前台运行的方式
  2. jQuery live事件说明及移除live事件方法
  3. oracle统计学生成绩c,Oracle11g学生成绩管理系统.docx
  4. OJ1004: 三位数的数位分离
  5. qmail 反垃圾邮件
  6. mysql workbench安装出错_MYSQL及MySQL WORKBENCH安装过程遇到的问题及处理方法
  7. Android手游lua脚本的加密与解密
  8. 74HC138译码器的原理和使用
  9. 3D打印社团的建立和一年的经营
  10. 高斯混合模型(GMM),c++实现
  11. 华为人工智能atlasA800-9000物理服务器离线安装及CANN安装和MindSpore安装和Tensorflow安装
  12. 指令下载Google网盘数据遇到的无法连接问题
  13. mac正常连wifi,无法解析域名
  14. 小白入门之HTML--第三章 CSS样式基础
  15. 用计算机演奏香蜜的歌曲,杨紫新剧《蜜汁炖鱿鱼》上演计算机天才,搭档李现CP感爆棚...
  16. 程序设计与算法MOOC021:鸣人与佐助(C++DFS、剪枝)
  17. 基于unity制作的AR视频播放
  18. 修改tp-wr841n-v8的flash
  19. arcgis js(九)天际线分析
  20. lamp Discuz 论坛搭建

热门文章

  1. 2022年氧化工艺操作证考试题库及模拟考试
  2. 数据结构与算法----个人小结
  3. Problem A. S12-04 竞选投票
  4. 【医学影像系列:一】数据集合集 最新最全
  5. ChainStore_2020年已过大半 DeFi热潮还能持续多久?
  6. php如何删除重复的记录,如何删除重复项保留一条数据
  7. Redis思维导图笔记——服务器
  8. Jasper报表图片为空不占报表高度
  9. 超越影像——RSNA 2016参展随感 (三.完结)
  10. “内衣0.1元起”只用6天吸引1800位客户充值会员!