計算機中央處理器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.pswp.cn/news/541630.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/541630.shtml
英文地址,請注明出處:http://en.pswp.cn/news/541630.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

計算機應用基礎專2020春,計算機應用基礎(專)(專,2020春)(20200831130023).pdf

計算機應用基礎(專)(專, 2020 春)使用 " 格式刷”按鈕,可以進行 ___________操作。選擇一項:a. 復制文本的格式b. 刪除文本c. 復制文本d. 保持文本你的回答正確正確答案是:復制文本的格式在 Word 的文檔中插入復雜的數學公式…

computed set 自定義參數_深入理解vmodel之自定義組件用法

根據上一篇《深入理解 v-model 之表單用法》基本對 v-model 有了比較深的理解&#xff0c;接下來我們看看它如何在自定義組件中使用。首先&#xff0c;我們知道下面兩個用法等價的&#xff1a;<input v-model"msg" /><input :value"msg" input&qu…

01json轉字符串

/** * json轉字符串聲明 */ (NSString *)jsonToString:(NSDictionary *)dic; /** * json轉字符串實現 */ (NSString *)jsonToString:(NSDictionary *)dic { if(!dic){ return nil; } NSData *jsonData [NSJSONSerialization dataWithJSONObject:dic options:NSJSONWriting…

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…

大班科學電子計算機,計算器教案

計算器的認識和簡單應用教學內容&#xff1a;義務教育六年制小學第九冊第二單元第42頁。教學目標&#xff1a;1、通過學生自主探究&#xff0c;掌握計算器的使用方法&#xff0c;并能夠用計算器進行簡單的計算。2、借助計算器解決生活中的數學問題、探索數學規律&#xff0c;體…

arraylist能否接收強轉類型_ArrayList 源碼解析

點擊上方"IT牧場"&#xff0c;選擇"設為星標"技術干貨每日送達&#xff01;前言 JDK源碼解析系列文章&#xff0c;都是基于JDK8分析的&#xff0c;雖然JDK14已經出來&#xff0c;但是JDK8我還不會&#xff0c;我…類圖 實現了RandomAccess接口&#xff0c;…

exit c+_C / C ++中的exit(0)vs exit(1)與示例

exit cexit() is a library function in C/C programming language, it is used to terminate the calling process (function) immediately i.e. we can say it is used for the normal program termination and also perform the several cleanup steps. exit()是C / C 編程語…

校園計算機網絡系統,校園計算機網絡系統

一、校園網的基本概念基本功能&#xff1a;數據交換、資源共享&#xff0c;這里所指的數據包括各種信息&#xff0c;基本組成和結構&#xff1a;基本網絡由網絡網絡的分類&#xff1a;有多種分類方法&#xff0c;按規模可分為局域網、區域網、&127;廣域網。局域網服務范圍一…

mc有什么紅石機器人_我的世界10月考試!來測測你的MC成績吧~

考試規則&#xff1a;本次考試為閉卷考試&#xff0c;考生需要在30分鐘內完成試卷。試卷總分為100分&#xff0c;其中包括單項選擇題50分&#xff0c;多項選擇題20分&#xff0c;判斷題30分。考試內容包括《我的世界》手游1.11.0及以上版本在不添加任何模組的情況下的所有游戲內…

130、 Android OkHttp完全解析(轉載)

完全解析&#xff1a;http://blog.csdn.net/lmj623565791/article/details/47911083 從原理角度解析http文件上傳 http://blog.csdn.net/lmj623565791/article/details/23781773 https://github.com/hongyangAndroid/okhttputils

json轉string示例_C.示例中的String.Copy()方法

json轉string示例C&#xff03;String.Copy()方法 (C# String.Copy() Method) String.Copy() method is used to copy a string to new string object, it returns a new instance of String with the same value as given string. String.Copy()方法用于將字符串復制到新的字符…

自定義分頁 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…

vue 對象繼承_Vue2.0中組件的繼承與擴展是什么

Vue2.0中組件的繼承與擴展是什么發布時間&#xff1a;2020-12-07 14:04:09來源&#xff1a;億速云閱讀&#xff1a;100作者&#xff1a;小新小編給大家分享一下Vue2.0中組件的繼承與擴展是什么&#xff0c;相信大部分人都還不怎么了解&#xff0c;因此分享這篇文章給大家參考一…

stack示例_C.示例中的Stack.Clone()方法

stack示例C&#xff03;Stack.Clone()方法 (C# Stack.Clone() method) Stack.Clone() method is used to create a shallow copy of the stack. Stack.Clone()方法用于創建堆棧的淺表副本。 Syntax: 句法&#xff1a; Object Stack.Clone();Parameters: None 參數&#xff1a…

簡述計算機圖形的圖形應用主要有哪些,5計算機圖形學考試簡答題復習.doc

5計算機圖形學考試簡答題復習計算機圖形學考試簡答題復習1、簡述計算機動畫的概念&#xff0c;它經歷了哪幾個階段的發展&#xff1f;(2分)計算機動畫是指采用圖形與圖像的處理技術&#xff0c;借助于編程或動畫制作軟件生成一系列的景物畫面&#xff0c;其中當前幀是前一幀的部…

在圖片中選定任意凸多邊形制作掩膜程序MATLAB

function S get_convex_S(C,vx,vy) %該函數實現的功能為指定圖像中多邊形的頂點&#xff0c;返回屬于該凸多邊形中的所有像素點 %xv&#xff0c;yv為頂點坐標按照順時針或者逆時針。vx(1) xv(end); yv(1) yv(end) %輸入的C是結構&#xff0c;vx vy是數組存的是頂點坐標。 %輸…

js console 輸出到文件_Node.js核心入門

正文核心模塊是Node.js的心臟&#xff0c;主要是有一些精簡高效的庫組成(這方面和Python有很大的相似之處)&#xff0c;為Node.js提供了基礎的API。主要內容包括&#xff1a;Node.js核心入門(一)全局對象常用工具事件機制Node.js核心入門(二)文件系統訪問HTTP服務器與客戶端全局…

scala 當前日期_如何在Scala中檢查當前日期和時間?

scala 當前日期Scala is a general-purpose programming language, which is majorly used for data manipulation. It has libraries and support for almost all different utilities that are important. One of the important things that are required while programming …

計算機科學考試大綱,計算機科學與技術考試大綱.doc

計算機科學與技術考試大綱計算機科學與技術專業本專業的專業課程考試為“計算機軟件基礎”和“計算機硬件基礎”兩門課程的組合試卷&#xff0c;卷面總分200分&#xff0c;時間150分鐘&#xff0c;考試方式為筆試。考試可攜帶計數器&#xff0c;但禁止攜帶文曲星、商務通等帶有…

eclipse中項目內存溢出問題

2019獨角獸企業重金招聘Python工程師標準>>> SpringBoot項目熱啟動Perm區內存溢出。 Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method jpaVendorAdapter threw exception; nested exception is java.lang.OutOfMemoryErro…