what is cpu

云罗郡主
云罗郡主Original
2018-12-17 14:38:4863275browse

CPU is an integrated circuit and the core of the computer. Usually, cpu generally refers to the central processing unit; and the main function of the cpu is to use the computer to process some data in the computer.

what is cpu

#The operating environment of this article: Windows 7 system, Dell G3 computer.

I believe that many people will be unfamiliar with the word cpu, so what is cpu and what is the working principle of cpu? The following php Chinese will summarize for everyone what cpu is?

1: What is cpu

cpu is an integrated circuit and the core of the computer. It generally refers to the central processing unit. The main function of the cpu is to use The computer processes some data in the computer.

2: What is the principle of cpu

cpu will take out the corresponding instructions from the memory, and then put them directly into the instruction register, and process these instructions After compilation, the instruction will specify the computer's operation type and basic commands. The instruction is composed of an opcode field and multiple fields.

3: CPU workflow

1. Extraction stage, extraction is to fetch instructions from the memory, and the extraction needs to be searched from the relatively slow memory, and the program Record the corresponding traces.

2. In the decoding stage, the instructions are broken down into meaningful fragments, and the CPU's set architecture compiles the values ​​​​into instructions, and the other parts are designated as operators.

3. Execution phase. Execution is an operation completed after extraction and decoding. This phase is to connect the CPU components of various operations. Operation overflows may be reset.

4. Write-back stage. The write-back stage is the last stage. The execution results are written back and the CPU results are put into the temporary register inside the CPU to satisfy the reading of instructions.

The above is a complete introduction to what CPU is. If you want to know more about operation and maintenance, please pay attention to the PHP Chinese website.

The above is the detailed content of what is cpu. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn