The two major components that make up a computer CPU are the arithmetic unit and the controller. The internal structure of the CPU can be roughly divided into several main parts such as the control unit, the arithmetic unit, the storage unit and the clock. The arithmetic unit is where the computer processes data. The center of processing, the controller is the control center of the computer, which determines the automation of the computer operation process.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
The two major components that make up a computer CPU are the arithmetic unit and the controller.
1. The internal structure of the CPU can be roughly divided into several main parts such as the control unit, arithmetic unit, storage unit and clock;
2. The arithmetic unit is the computer's The center for data processing, it mainly consists of arithmetic and logic unit (ALU: Arithmetic and Logic Unit), register group and status register. ALU mainly completes fixed-point arithmetic operations, logical operations and various shift operations on binary information. The general-purpose register group is used to store the operands participating in operations and the intermediate results of operations. The status register has different regulations in different machines. In the program, the status bit is usually used as the judgment condition for the transfer instruction;
3. The controller is the control center of the computer, which determines the running process of the computer. of automation. It must not only ensure the correct execution of the program, but also be able to handle abnormal events. The controller generally includes several parts such as instruction control logic, timing control logic, bus control logic, interrupt control logic, etc.;
The above is the detailed content of What are the two major components that make up a computer CPU?. For more information, please follow other related articles on the PHP Chinese website!