In computer architecture, a processor register is a small amount of very fast computer memory used to speed the execution of computer programs by providing quick access to commonly used values—typically, the values being calculated at a given point in time. Most, but not all, modern computer architectures operate on the principle of moving data from main memory into registers, operating on them, then moving the result back into main memory—a so-called load-store architecture.
Processor registers are the top of the memory hierarchy, and provide the fastest way for the system to access data. The term is often used to refer only to the group of registers that can be directly indexed for input or output of an instruction, as defined by the instruction set. More properly, these are called the "architectural registers". For instance, the x86 instruction set defines a set of eight 32-bit registers, but a CPU that implements the x86 instruction set will contain many more registers than just these eight.
Putting frequently used variables into registers is critical to the program's performance. This action, namely register allocation is usually done by a compiler in the code generation phase.
There are several classes of registers according to the content:
Hardware registers are similar, but occur outside CPUs.
Digital registers | Central processing unit
Регистър (компютър) | Register (Computer) | Rekisteri (tietokonetekniikka) | Registre (informatique) | 레지스터 | רגיסטר | Regiszter (számítástechnika) | レジスタ (CPU) | Register (computer) | Rejestr procesora | Registo (CPU) | เรจิสเตอร์ | Регістр процесора | Регистар | 寄存器
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Processor register".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world