Registers are high-speed small-size storage locations within the CPU. Main ones are:
- Program Counter (PC): It stores the memory address of the next program instruction to be executed.
- Instruction Register (IR): It stores the program instruction to be executed (interpreted).
- Memory Address Register (MAR): It stores the address of the memory location to be accessed.
- Memory Data Register (MDR): It stores the data just read from or to be written to memory. |