计算机中央处理器cpu_中央处理器(CPU)| 计算机科学组织

计算机中央处理器cpu

中央处理器(CPU) (Central Processing Unit (CPU))

  • The CPU is the brain of the computer system. It works as an administrator of a system.

    CPU是计算机系统的大脑。 它以系统管理员的身份工作。

  • All the operations within the system are supervised and controlled by the CPU. It interprets and coordinates the instructions.

    系统内的所有操作均由CPU监控。 它解释和协调指令。

  • The data and the instructions are temporarily stored in its memory unit. After performing operations, the result of operations can be stored in this memory unit.

    数据和指令临时存储在其存储单元中。 执行操作后,操作结果可以存储在此存储单元中。

  • CPU




  • The results of the operations are sent towards the output unit for the user.

    操作结果将发送给用户的输出单元。

  • Thus, the CPU controls all internal and external devices, perform arithmetic and logical operations, controls memory usage and control the sequence of operations.

    因此,CPU控制所有内部和外部设备,执行算术和逻辑运算,控制内存使用并控制运算顺序。

  • For performing all these operations, the CPU has three subunits:

    为了执行所有这些操作,CPU具有三个子单元:

    • Arithmetic and logic unit (ALU)
    • Control unit
    • Memory unit (CPU registers)

算术和逻辑单元(ALU) (Arithmetic and Logic Unit (ALU))

  • Arithmetic and logic unit is the subunit of the central processing unit as it is given above.

    如上所述,算术和逻辑单元是中央处理单元的子单元。

  • It performs arithmetic operations like addition, subtraction, and logic operations like OR, AND, invert, exclusive – OR on binary words. The data stored in the memory unit is transferred to ALU. The ALU performs the operations that are the data is processed and the result is stored in an internal memory unit of the CPU. The result of a final operation is transferred from the memory unit to an output unit.

    它对二进制字执行算术运算(例如加法,减法)和逻辑运算(例如OR,AND,取反,异或)。 存储在存储单元中的数据将传输到ALU。 ALU执行以下操作:处理数据并将结果存储在CPU的内部存储单元中。 最终操作的结果从存储单元传输到输出单元。

  • Arithmetic and logic operations performed by ALU sets flags to represent certain conditions such as equal to condition, zero condition, greater than the condition and so on. These conditions are checked by program instructions to change the sequence of program executions.

    ALU执行的算术和逻辑运算设置标志来表示某些条件,例如等于条件,零条件,大于条件等。 这些条件由程序指令检查以更改程序执行的顺序。

控制单元 (Control Unit)

  • The control unit controls all the operations which internally take place within the CPU and also the operations of CPU related to input / output devices. The control unit directs the overall functioning of a computer system.

    控制单元控制在CPU内部进行的所有操作,以及与输入/输出设备有关的CPU的操作。 控制单元指导计算机系统的整体功能。

  • This unit also checks the correctness of sequence of operations. It fetches instructions in a program from the primary storage unit, interprets them and generates control signals to ensure correct execution of the program. The control signals generated by the control unit direct the overall functioning of the other units of the computer.

    本机还检查操作顺序的正确性。 它从主存储单元中获取程序中的指令,对其进行解释并生成控制信号以确保程序正确执行。 由控制单元产生的控制信号指导计算机其他单元的整体功能。

CPU寄存器 (CPU Registers)

  • A register is a group of flip-flops which can be used to store a word. It is a high-speed temporary storage space for holding data, addresses, and instructions during processing the instructions. Registers are not referenced by their addresses, however, they are directly accessed.

    寄存器是一组触发器,可用于存储一个字。 它是一个高速临时存储空间,用于在处理指令期间保存数据,地址和指令。 寄存器不由其地址引用,但是可以直接访问它们。

  • To perform execution of the instructions, the processor contains a number of registers used for temporary storage of data and some special function registers.

    为了执行指令,处理器包含许多用于临时存储数据的寄存器和一些特殊功能寄存器。

  • The special function registers include Program Counter (PC), Instruction Register (IR), Memory Address Register (MAR), and Memory Data Register (MDR).

    特殊功能寄存器包括程序计数器(PC),指令寄存器(IR),存储器地址寄存器(MAR)和存储器数据寄存器(MDR)。

CPU Registers in CSO

程序计数器(PC) (Program Counter (PC))

  • A program is a series of instruction stored in the memory. These instructions tell the CPU exactly how to get the desired result.

    程序是存储在存储器中的一系列指令。 这些指令准确地告诉CPU如何获得所需的结果。

  • It is important that these instructions must be executed in a proper order to get the correct result.

    必须按照正确的顺序执行这些指令,以获得正确的结果,这一点很重要。

  • The sequence of instructions executions is monitored by the program counter.

    指令执行的顺序由程序计数器监视。

  • It keeps track of which instruction is being executed and what the next instruction will be.

    它跟踪正在执行的指令以及下一条指令。

指令寄存器(IR) (Instruction Register (IR))

  • It is used to hold the instruction that is currently being executed.

    它用于保存当前正在执行的指令。

  • The contents of IR are available to the control unit, which generate the timing signals that control the various processing elements involved in executing the instruction.

    IR的内容可供控制单元使用,控制单元生成控制执行指令所涉及的各种处理元件的定时信号。

内存地址寄存器(MAR)和内存数据寄存器(MDR) (Memory Address Register (MAR) and Memory Data Register (MDR))

  • These registers are used to handle the data transfer between the main memory and the processor.

    这些寄存器用于处理主存储器和处理器之间的数据传输。

  • The MAR holds the address of the main memory to or from which the data is to be transferred.

    MAR保留要向其传输数据的主存储器的地址。

  • The MDR sometimes also called MBR (Memory Buffer Register) contains the data to be written into or read from the addressed word of the main memory.

    MDR有时也称为MBR(内存缓冲寄存器),包含要写入主存储器的寻址字中或从中读取的数据。

References:

参考文献:

  • Basic Operational Concepts

    基本操作概念

  • Instruction cycle

    指令周期

  • Basic Operational Concepts

    基本操作概念

翻译自: https://www.includehelp.com/cso/central-processing-unit.aspx

计算机中央处理器cpu

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/541630.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

computed set 自定义参数_深入理解vmodel之自定义组件用法

根据上一篇《深入理解 v-model 之表单用法》基本对 v-model 有了比较深的理解&#xff0c;接下来我们看看它如何在自定义组件中使用。首先&#xff0c;我们知道下面两个用法等价的&#xff1a;<input v-model"msg" /><input :value"msg" input&qu…

AYUSH的完整形式是什么?

AYUSH&#xff1a;阿育吠陀&#xff0c;瑜伽和自然疗法&#xff0c;乌纳尼&#xff0c;悉达多和顺势疗法 (AYUSH: Ayurvedic, Yoga and Naturopathy, Unani, Siddha and Homeopathy) AYUSH is an abbreviation of Ayurvedic, Yoga and Naturopathy, Unani, Siddha, and Homeopa…

arraylist能否接收强转类型_ArrayList 源码解析

点击上方"IT牧场"&#xff0c;选择"设为星标"技术干货每日送达&#xff01;前言 JDK源码解析系列文章&#xff0c;都是基于JDK8分析的&#xff0c;虽然JDK14已经出来&#xff0c;但是JDK8我还不会&#xff0c;我…类图 实现了RandomAccess接口&#xff0c;…

mc有什么红石机器人_我的世界10月考试!来测测你的MC成绩吧~

考试规则&#xff1a;本次考试为闭卷考试&#xff0c;考生需要在30分钟内完成试卷。试卷总分为100分&#xff0c;其中包括单项选择题50分&#xff0c;多项选择题20分&#xff0c;判断题30分。考试内容包括《我的世界》手游1.11.0及以上版本在不添加任何模组的情况下的所有游戏内…

自定义分页 html,MVC 自定义HtmlHelper帮助类型之分页

方法一&#xff1a;在项目中增加App_Code文件夹&#xff0c;新增一个MyHtmlper.cshtml视图文件写入代码&#xff1a;helper Pagger(int pageIndex, int pageCount){for (int i 1; i < pageCount; i){if (i ! pageIndex){(i)}else{i}}}新增一个HomeControllerpublic class H…

js console 输出到文件_Node.js核心入门

正文核心模块是Node.js的心脏&#xff0c;主要是有一些精简高效的库组成(这方面和Python有很大的相似之处)&#xff0c;为Node.js提供了基础的API。主要内容包括&#xff1a;Node.js核心入门(一)全局对象常用工具事件机制Node.js核心入门(二)文件系统访问HTTP服务器与客户端全局…

eclipse中项目内存溢出问题

2019独角兽企业重金招聘Python工程师标准>>> SpringBoot项目热启动Perm区内存溢出。 Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method jpaVendorAdapter threw exception; nested exception is java.lang.OutOfMemoryErro…

express rest_Express / Node中用于REST API的邮递员工具

express restWhen dealing with routes (like in express), we may use any of the REST verbs and at times, the browser is limited to facilitate testing the routes/REST API. 在处理路由时(如快速表达)&#xff0c;我们可以使用任何REST动词&#xff0c;有时浏览器会受到…

形象易懂讲解算法I——小波变换

https://zhuanlan.zhihu.com/p/22450818?referdong5 最早发于回答&#xff1a;能不能通俗的讲解下傅立叶分析和小波分析之间的关系&#xff1f; - 咚懂咚懂咚的回答现收入专栏。从傅里叶变换到小波变换&#xff0c;并不是一个完全抽象的东西&#xff0c;可以讲得很形象。小波变…

使用Linux命令行归档文件

存档文件 (Archiving Files) As we already understand what Compression (Compression techniques in Linux) is? We shall learn about Archives. We prefer compression as it is convenient to send file compressed through a network but sometimes it is not a smart w…

http缓存机制之304状态码

在网上看到一篇关于解释浏览器缓存更新机制304状态码的文章&#xff0c;里面说如果请求头中的If-Modified-Since字段和If-None-Match字段的值分别和响应头中的Last-Modified字段和Etag字段值一致&#xff0c;服务器就会返回304状态码(无响应体)&#xff0c;浏览器就从本地读取缓…

计算机选配 注意事项,选择鼠标注意事项有哪些

选择鼠标注意事项有哪些每台电脑旁边都有了一个忠实的伴侣&#xff0c;那就是“Mouse”--鼠标。选择鼠标最重要的一点就是质量&#xff0c;无论它的功能有多强大、外形多漂亮&#xff0c;如果质量不好那么一切都不用考虑了。那么&#xff0c;选择鼠标注意事项有哪些?笔记本鼠标…

js 验证护照_护照本地策略第2部分| Node.js

js 验证护照In my last article (Passport local strategy section 1 | Node.js), we started the implementation of the passport-local authentication strategy. We also looked at the various requirements to get started with the login form. In this article, we wil…

svn版利用什么技术实现_金葱粉涂料印花利用了什么技术?

金葱粉涂料印花利用了什么技术:金葱粉用涂料而不是用染料来生产印花布已经非常广泛&#xff0c;以致开始把它当作一种独立的印花方式。涂料印花是用涂料直接印花&#xff0c;该工艺通常叫做干法印花&#xff0c;以区别于湿法印花(或染料印花)。通过比较同一块织物上印花部位和未…

网站换服务器需要注意什么问题,网站更换服务器要注意哪些事项

原标题&#xff1a;网站更换服务器要注意哪些事项网站在运营的过程中&#xff0c;出于某种考虑&#xff0c;我们会将网站进行服务器的变更&#xff0c;那么在进行服务器变成过程中&#xff0c;需要注意哪些事项。一、如果是跨服务商更换网站服务器&#xff0c;需要做备案迁移。…

kafka分区与分组原理_大数据技术-Kafka入门

在大数据学习当中&#xff0c;主要的学习重点就是大数据技术框架&#xff0c;针对于大数据处理的不同环节&#xff0c;需要不同的技术框架来解决问题。以Kafka来说&#xff0c;主要就是针对于实时消息处理&#xff0c;在大数据平台当中的应用也很广泛。大数据学习一般都有哪些内…

ActiveReports 报表控件官方中文新手教程 (1)-安装、激活以及产品资源

&#xfeff;&#xfeff;本系列文章主要是面向初次接触 ActiveReports 产品的用户&#xff0c;能够帮助您在三天之内轻松的掌握ActiveReports控件的基本用法&#xff0c;包含安装、激活、创建报表、绑定数据源以及公布等内容。本篇文章我们就从安装产品開始带您开启轻松的 Ac…

如何在React Native中使用React JS Hooks?

In my articles, Im going to be using either expo or snack online IDE and android emulator. 在我的文章中&#xff0c;我将使用expo或点心在线IDE和android模拟器。 React Hooks is simply an awesome tool that helps us use states and other react features without w…

华为P40pro 手机云台_2020年目前拍照最好的手机推荐!华为P40 Pro!DXO全球榜首

目前最热门的拍照手机自然是华为P40 Pro&#xff0c;其相机性能直接问鼎DXOMARK手机相机评分榜首。对于拍照要极求高的用户&#xff0c;华为P40 Pro将是一个非常不错的选择。那么&#xff0c;华为P40 Pro除了出色的相机之外&#xff0c;其它方面表现如何呢&#xff1f;下面&…

Centos 7安装与配置nagios监控(一)

目 录序言(必备知识)一、安装规划1.1系统环境1.2所需软件包二、配置安装环境2.1同步时间2.2禁用SElinux2.3 xftp上传软件包2.4安装邮件服务三、监控主机安装3.1安装nagios的运行环境3.2增加用户3.3安装nagios3.4配置权限3.5安装插件3.6安装nrpe四、远程主机安装4.1配置运行环境…