2
$\begingroup$

please bear with me, I always get confused with the terminologies used in my computer architecture class.

What are read and write operations exactly? What are their relationship with processor, main memory, and cache?

I always thought that load/store are interchangeable with read/write...

What about the modify operation?

$\endgroup$
1
$\begingroup$

Read is the same as load, and write is the same as store. Modify is a combination of both.

$\endgroup$
  • $\begingroup$ thank you, but what do you mean by "combination of both"? So, when you modify, you are reading and writing at the same time? $\endgroup$ – David Feb 25 '16 at 22:42
  • $\begingroup$ Not necessarily at the same time, but possibly as an atomic operation. You first read and then write. $\endgroup$ – Yuval Filmus Feb 25 '16 at 22:44
  • $\begingroup$ Instruction fetch may be categorized as a read (since fundamentally it is) or use a separate "fetch" category. $\endgroup$ – Paul A. Clayton Feb 26 '16 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.