A register in a CPU is best described as
Answer: C
Correct answer: a small, very fast storage location inside the processor
A register is a small storage location built directly into the processor, typically holding one word - 32 or 64 bits - and accessible in a single cycle. Registers are the fastest storage in the machine and sit at the top of the memory hierarchy, above cache, main memory and disk. They are few in number precisely because they are expensive in silicon area, and a large part of what a compiler does is decide which values are worth keeping in them. Several have fixed roles. The program counter holds the address of the next instruction; the instruction register holds the instruction being decoded; the accumulator holds arithmetic results in simpler architectures; the memory address and memory buffer registers interface with memory; the stack pointer tracks the top of the stack; and the status or flag register holds the zero, carry, sign and overflow bits that conditional branches test. General-purpose registers hold whatever the program needs.
Please log in or register to report this question.