simple query about reading and writing times

Status
Not open for further replies.

engr_najam

Full Member level 2
Joined
Aug 10, 2006
Messages
128
Helped
7
Reputation
14
Reaction score
1
Trophy points
1,298
Activity points
1,939
Hi;
I have a simple question:
Suppose I have a processor and I want to read and write data on its internal register. Which one will take more time ?
writing or reading the same amount of data ???
and why so ?????

thanks for kind replies
 

Writing takes more time into memory compared to reading, because when data is sent / written into memory, before the write operation takes place the memory check is done to verify its content, it needs to erase the content if it exists and then write the data, for reading it uses less time because it fetches the data directly from memory.
writing data into internal registers also works in same way.
even if there is no data a check is done for presence of data which takes little extra time compared to read operation
 

AH! Thanks for that. Had the same question!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…