In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you what CPU refers to in the computer, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to understand it!
The CPU of a computer refers to the central processing unit and is the arithmetic unit and controller of the computer. CPU includes operational logic components, register components and control components, operational logic components, which can perform fixed-point or floating-point arithmetic operations, shift operations and logic operations, as well as address operations and conversion.
CPU is the central processing unit. It is the calculator and controller of computer.
CPU includes operation logic unit, register unit and control unit. English Logic components; operation logic unit can perform fixed-point or floating-point arithmetic operation, shift operation and logic operation, as well as address operation and translation.
1. Register
The register unit includes a general register, a special register and a control register.
General registers can be divided into fixed point numbers and floating point numbers, which are used to store temporarily stored register operands and intermediate (or final) operation results during instruction execution.
The general register is an important part of the CPU, and most instructions have to access the general register. The width of the general register determines the width of the data path in the computer, and the number of ports can often affect the parallelism of internal operations.
Special registers are registers needed to perform some special operations.
The control register (CR0~CR3) is used to control and determine the mode of operation of the processor and the characteristics of the current task. CR0 contains system control flags that control the operating mode and state of the processor; CR1 is not used; CR2 contains a linear address that causes a page error; and CR3 contains a physical memory base address in the page directory table, so the register is also known as the page directory base address register PDBR (Page-Directory Base address Register).
2. Control unit
The English Control unit; control unit is mainly responsible for decoding instructions and sending out control signals for each operation to be performed in order to complete each instruction.
There are two kinds of structures: one is the microprogram control mode with microstorage as the core, and the other is the control mode based on logic hard wiring structure.
Microcode is maintained in microstorage, and each microcode corresponds to a most basic microoperation, also known as microinstruction; each instruction is composed of microcodes of different sequences, which constitute microprograms. After decoding the instructions, the CPU sends out control signals of a certain time sequence, and executes several microoperations determined by these microcodes in the order of a given sequence with microcycles as beats, which can complete the execution of an instruction.
Simple instructions are composed of (3-5) microoperations, while complex instructions are composed of dozens or even hundreds of microoperations.
Main function editing
3. Processing instruction
Intel and AMD mainstream CPU and CPU slots
English Processing instructions; this refers to the order in which instructions are executed in the control program. There is a strict order between the instructions in the program, which must be carried out in strict order in order to ensure the correctness of the work of the computer system.
4. Perform the operation
The function of an English Perform an action; instruction is often realized by a series of operations performed by components in the computer. According to the function of the instruction, CPU should generate the corresponding operation control signal and send it to the corresponding components, so as to control these parts to act according to the requirements of the instruction.
5. Control time
English Control time; time control is the timing of various operations. During the execution of an instruction, what to do at any time should be strictly controlled. Only in this way can the computer work methodically.
6. Processing data
That is, to carry on the arithmetic operation and logical operation to the data, or carry on other information processing.
Its main function is to interpret computer instructions and process data in computer software, and execute instructions. In a microcomputer, which is also called a microprocessor, all operations of the computer are controlled by CPU. The performance index of CPU directly determines the performance index of the microcomputer system. CPU has the following four basic functions: data communication, resource sharing, distributed processing, and providing system reliability. The operation principle can be divided into four stages: extraction (Fetch), decoding (Decode), execution (Execute) and writing back (Writeback).
The above is all the contents of the article "what does CPU in the computer mean?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.