Storing a word in Memory:
That is similar process with fetching a word from memory.
- The required address is loaded into the MAR
- After that data to be written are loaded into MDR, and a write command is issued.
- If we suppose that the data word to be stored in the memory is in R2 and that the memory address is in R1, the Write operation needed the following sequence:
- MAR - [R1]
- MDR -[R2]
- Write
- Wait for the MFC
Move R2, (R1) requires the following sequence (signal):
R1out, MARin
R2out, MDRin. Write
MDRoutE,WMFC