Main memory location can be addressed in two different ways. What are they? How are they different?
Main memory location can be addressed in two different ways.
What are they?
How are they different?
Memory addresses are used as unique references to the memory locations. Physical addressing and logical addressing are the two ways to address the memory location. These addresses are represented by binary numbers that can be used to track where information is stored.
Computer memory contains a lot of memory locations and each location has a physical address. A CPU wants to access a specific memory location, this is done by using a physical address code.
The logical address is used to refer to the physical addresses it is not directly accessible. The CPU generates the appropriate logical address when running a program. but physical addresses are locations in memory and are computed by the memory management unit(MMU).
Logical addresses can be considered as a virtual address because they never exist physically in memory
Trending now
This is a popular solution!
Step by step
Solved in 2 steps