in Operating System
156 views
0 votes
0 votes
I am confused with logical address. I read cpu generates logical address and it gets mapped to physical address, so my question is how cpu knows which logical address it has to generate and if it has to fetch data from memory how it knows the address of that data location.
in Operating System
156 views

1 Answer

0 votes
0 votes
See 1st of all CPU generate logical address as the basis of architecture. Now CPU generates logical address when a process comes into play, now why should CPU generates LA when there is PA because there are multiple program running and   change in PA may cause problem so generating LA ensure that if one process allocated the memory other process can't access it. And the LA to PA translation performed by memory management unit. So logical address referred to as virtual address.
by

Related questions