REGISTERS AND RAM
1. Why are registers used instead of RAM?
=> Because registers are very fast computer memory which is used to execute programs and operations efficiently.
STRUCTURE AND COMPONENTS OF ALL REGISTERS
1. Accumulator => Stores the value from the MDR register
2. Memory Address Register => It holds the address of the location which is to be accessed from the memory
3. Memory Data Register => It holds the data to be written into the memory of to be read out from the addressed location
MAR and MDR facilitate the communication between CPU and RAM
4.General-Purpose Register => Used to store temporary data during ongoing operation
5. Program Counter => used to keep track of the execution of the program
6. Instruction Register => Holds the instruction which is to be executed currently.
7. Condition code register => It has many flags that indicate the current status of any operation.
Comments
Post a Comment