- Hardware register
In
digital electronics , especiallycomputing , a hardware register stores bits of information, in a way that all the bits can be written to or read out simultaneously.The hardware registers inside acentral processing unit (CPU) are calledprocessor register s.Signals from astate machine to the register control when registers transmit to or accept information from other registers.Sometimes the state machine routes information from one register through a functional transform, such as an adder unit, and then to another register that stores the results.Typical uses of hardware registers include "configuration" and start-up of certain features, especially during initialization, "buffer storage" e.g. video memory for
graphics card s,input/output (I/O) of different kinds, and "status reporting" such as whether a certain event has occurred in the hardware unit.Reading a hardware register in "peripheral units" --
computer hardware outside the CPU -- involves accessing itsmemory-mapped I/O address orport-mapped I/O address with a "load" or "store" instruction, issued by the processor. Hardware registers are addressed in words, but sometimes only use a fewbit s of the word read in to, or written out to the register.Strobe registers have the same interface as normal hardware registers, but instead of storing data, they trigger an action each time they are written to (or, in rare cases, read from). They are a means of signaling.
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 can be implemented in a wide variety of ways, includingregister file s, standard SRAM, individual flip-flops, or high speedcore memory .In addition to the "programmer-visible" registers that can be read and written with software, many chips have internal registers that are used for
state machines andpipelining ; for example,registered memory .See also
*
Register Transfer Language
*Input/Output Base Address
Wikimedia Foundation. 2010.