Practice question · Multiple choice
Registers hold only a handful of values while main memory holds billions. Why does the CPU keep so tiny a store at all, rather than working directly from memory?
Hints
- Compare the access time of a register with that of main memory.
- Ask why there are dozens of registers rather than millions.
Show the answer
A. Because registers are readable within one clock cycle and memory takes hundreds.
Why
Registers sit a fraction of a millimetre from the ALU and read in one cycle; main memory is centimetres away and takes about a hundred. The smallness is not a limitation to overcome but the reason it is fast, more registers means longer wires and larger multiplexers. They are the most expensive storage per byte in the machine, and few because being few keeps them quick.
Practise Processor, Memory, and Buses
The app has 6 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.
More questions on Processor, Memory, and Buses
- Storing instructions and data in one memory is what makes a stored-program computer able to treat a program…
- A CPU running at 3 GHz executes an instruction in well under a nanosecond and waits around 100 nanoseconds…
- Order the steps by which the CPU reads one byte out of main memory.
- Select every statement that is true of registers but NOT true of main memory.