Home>Article> What is a device that contains a small amount of data stored in the CPU called?

What is a device that contains a small amount of data stored in the CPU called?

青灯夜游
青灯夜游 Original
2022-07-18 16:29:45 10396browse

is called "register". 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. The function of the register is to store binary codes, which are composed of flip-flops with storage functions; one flip-flop can store 1-bit binary code, so a register that stores n-bit binary codes needs n flip-flops.

What is a device that contains a small amount of data stored in the CPU called?

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

The CPU contains devices that store a small amount of data, called "registers".

Registers are small storage areas used to store data inside the CPU. They are used to temporarily store data involved in operations and operation results.

The storage circuit of the register is composed of latches or flip-flops. Because one latch or flip-flop can store 1-bit binary number, N bits can be composed of N latches or flip-flops. register. 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.

The register is the fastest memory space on the GPU, usually with a bandwidth of about 8TB/s and a latency of 1 clock cycle. An argument declared in the kernel function without other modifiers is usually stored in a register. The fastest and most preferred memory is the register in the device, which is a resource of great value but extremely scarce.

The function of the register is to store binary codes, which are composed of flip-flops with storage functions; one flip-flop can store 1-bit binary code, so a register that stores n-bit binary codes requires n composed of triggers.

According to different functions, registers can be divided into two categories: basic registers and shift registers. Basic registers can only send data in parallel and can only output data in parallel. The data in the shift register can be shifted right or left bit by bit under the action of the shift pulse. The data can be input in parallel, output in parallel, input in series, output in series, or input in parallel or output in series. Or serial input, parallel output, very flexible and widely used.

The register has at least the following four functions.

①Clear numbers: Clear the original numbers in the register.

②Receive digital: Under the action of receiving pulse, the external input digital is stored in the register.

③Storing numbers: Before a new write pulse comes, the register can keep the original numbers unchanged.

④Output digital: Under the action of the output pulse, the digital is output through the circuit.

Characteristics of registers:

1. The registers are located inside the CPU and are very few in number, only fourteen.

2. The data that a register can store is not necessarily 8 bits. Some registers can store 16 bit data, and some registers in the 386/486 processor can store 32 bit data.

3. Each internal register has a name, but there is no address number like a memory.

4. The function of registers is very important. When the CPU processes data in the memory, it often fetches the data into the internal register first and then processes it. External registers are registers used to temporarily store data on other components of the computer. They exchange data with the CPU through "ports". External registers have the dual characteristics of registers and internal memory.

For more related knowledge, please visit theFAQcolumn!

The above is the detailed content of What is a device that contains a small amount of data stored in the CPU called?. 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
Previous article:What software is Penguin? Next article:What software is Penguin?