The number of internal registers of the arithmetic unit is related to the speed of the system. The arithmetic unit is composed of an arithmetic logic unit, an accumulator, a status register, a general register group, etc. The registers are used to store data inside the CPU. Some small storage areas are used to temporarily store data involved in operations and operation results.
Operator
Operator: arithmetic unit, a component in the computer that performs various arithmetic and logical operations. . The basic operations of the arithmetic unit include the four arithmetic operations of addition, subtraction, multiplication, and division, logical operations such as AND, OR, NOT, and XOR, as well as operations such as shifts, comparisons, and transmissions. It is also called the Arithmetic Logic Unit (ALU).
The arithmetic unit consists of an arithmetic logic unit (ALU), an accumulator, a status register, a general-purpose register group, etc. The basic functions of the Arithmetic Logic Operation Unit (ALU) are the four arithmetic operations of addition, subtraction, multiplication, and division, logical operations such as AND, OR, NOT, and XOR, as well as operations such as shift and complement. When the computer is running, the operations and types of operations of the arithmetic units are determined by the controller. 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.
The processing object of the operator is data, so the data length and computer data representation method have a great impact on the performance of the operator. In the 1970s, microprocessors often used 1, 4, 8, and 16 binary bits as the basic unit for processing data. Most general-purpose computers use 16, 32, or 64 bits as the length of data processed by the arithmetic unit. An arithmetic unit that can process all bits of a data simultaneously is called a parallel arithmetic unit. If only one bit is processed at a time, it is called a serial operator. Some operators can process several bits at a time (usually 6 or 8 bits), and a complete data is divided into several segments for calculation, which is called a serial/parallel operator. Operators tend to only process data of one length. Some can also handle data of several different lengths, such as half-word-length operations, double-word-length operations, quadruple-word-length operations, etc. Some data lengths can be specified during the operation, which is called variable word length operation.
According to different data representation methods, there can be binary operators, decimal operators, hexadecimal operators, fixed-point integer operators, fixed-point decimal operators, floating-point operators, etc. According to the nature of the data, there are address operators and character operators.
Its main function is to perform arithmetic operations and logical operations.
Registers
Registers are small storage areas used to store data inside the CPU. They are used to temporarily store data and operation results involved in operations. In fact, a register is a commonly used sequential logic circuit, but this sequential logic circuit only contains storage circuits. The storage circuit of the register is composed of a latch or a flip-flop. Because one latch or flip-flop can store a 1-bit binary number, an N-bit register can be composed of N latches or flip-flops. Registers are components within the central processing unit. Registers are high-speed storage components with limited storage capacity that can be used to temporarily store instructions, data, and addresses.
In the computer field, registers are components inside the CPU, including general-purpose registers, special-purpose registers and control registers. Registers have very high read and write speeds, so data transfer between registers is very fast.
The above is the detailed content of The number of internal registers of the arithmetic unit has nothing to do with the speed of the system, right?. For more information, please follow other related articles on the PHP Chinese website!