Interaction Between CPU and RAM
Interaction Between CPU and RAM:
RAM and CPU are both placed on the motherboard. RAM is a temporary memory that stores data and instructions for CPU. The CPU takes data and instructions from RAM when required. CPU also places processed data in RAM. The interaction between CPU and RAM takes place every time an instruction is executed. This interaction takes place with the help of computer buses.
RAM is connected to CPU through data bus, control bus and address bus. It is collectively known as system bus. The system bus consists of electrical paths to transfer information between CPU and RAM.
The following steps are performed when CPU wants to read data from RAM:
1.CPU places the read request on control bus.
2. CPU places the address of required byte or word on address bus.
3. Memory unit reads the command and address. It puts the required data on data bus.
4. CPU reads the data from data bus.
The following steps are performed when CPU wants to write data to RAM:
1. CPU places the write request on control bus
2. CPU places the address of the word where to write data on address bus.
3. Memory unit gets ready to do the operation.
4. CPU puts data on the data bus.
5. Memory unit reads the data and places it in the required word.
Read- Only Memory (ROM)
ROM stands for read only memory. The instruction is ROM prepare the computer for use,. These instruction can only be but cannot be changed or deleted. it is not possible to write new information or instruction into the ROM.
ROM store data instructions permanently. When the power is switched off instructions stored in ROM are not lost. Therefore ROM is called non-volatile memory.
ROM contains a small set of instructions tell called ROM BIOS. BIOS stands for basic input /output system. These instructions tell the computer how to access hard disk find operating system and load the operating system in RAM.
Read only memory (ROM)
Coming soon.....
Comments
Post a Comment