Home>Article> The central processing unit (CPU) of a computer consists of two parts: arithmetic unit and what

The central processing unit (CPU) of a computer consists of two parts: arithmetic unit and what

藏色散人
藏色散人 Original
2020-07-23 11:32:50 35185browse

The computer's central processing unit (CPU) consists of two parts: the arithmetic unit and the controller. The main function of the arithmetic unit is to perform arithmetic operations and logical operations, while the controller consists of a program counter, an instruction register, an instruction decoder, It is composed of a timing generator and an operation controller. It is the "decision-making mechanism" that issues commands, that is, it coordinates and directs the operations of the entire computer system.

The central processing unit (CPU) of a computer consists of two parts: arithmetic unit and what

The central processing unit CPU of an electronic computer includes two parts:operatorandcontroller.

Function of the operator:

The main function of the operator is to perform arithmetic operations and logical operations. The operator includes an arithmetic logic unit (ALU), accumulator, status register, and general register. The arithmetic and logical operation unit is responsible for four arithmetic operations, such as AND, OR, NOT, XOR and other logical operations.

The data processed by the operator comes from the memory; the processed result data is usually sent back to the memory or temporarily stored in the operator. Together with the Control Unit, it forms the core part of the CPU.

Functions of the controller:

The controller consists of a program counter, an instruction register, an instruction decoder, a timing generator and an operation controller. It is the "decision-making mechanism" that issues commands. That is to complete the coordination and command of the operation of the entire computer system.

The above is the detailed content of The central processing unit (CPU) of a computer consists of two parts: arithmetic unit and what. 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