| Processor Register |
Article Index for Processor |
Website Links For Register |
Information AboutProcessor Register |
| CATEGORIES ABOUT PROCESSOR REGISTER | |
| digital registers | |
| central processing unit | |
|
Processor registers are at the top of the Memory Hierarchy , and provide the fastest way for a Cpu to access data. The term is often used to refer only to the group of registers that are directly encoded as part 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. Allocating frequently used variables to registers can be critical to a program's performance. This action, namely Register Allocation is performed by a Compiler in the Code Generation phase. CATEGORIES OF REGISTERS Registers are normally measured by the number of Bit s they can hold, for example, an " 8-bit register" or a " 32-bit register". Registers are now usually implemented as a Register File , but they have also been implemented using individual Flip-flop s, high speed Core Memory , Thin Film Memory , and other ways in various machines. There are several classes of registers according to the content:
Hardware Register s are similar, but occur outside CPUs. SOME EXAMPLES The table below shows the number of registers of several mainstream processors. Note that the stack pointer (ESP) is counted as an integer register on x86-compatible processors, even though there are a limited number of instructions that may be used to operate on its contents. SEE ALSO |
|
|