What is the difference between Physical and Logical Address space?

Difference between Physical and Logical address Space:

  • The basic difference between Logical and physical address is that an address generated by the CPU is commonly referred to as a logical address, whereas an address seen by the memory unit—that is, the one loaded into the memory-address register of the memory—is commonly referred to as a physical address.
  • The set of all logical addresses generated by CPU for a program is called Logical Address Space. However, the set of all physical address mapped to corresponding logical addresses is referred as Physical Address Space.
  • The logical address is also called Virtual Address as the logical address does not exist physically in the memory unit.  The physical address is a location in the memory unit that can be accessed physically.
  • Logical address and physical address generated by Compile-time and Load time address binding methods are identical.
  • The logical and physical address generated by run-time address binding method differs from each other.
  • The logical address is generated by the CPU while program is running whereas, the physical addres is computed by the MMU (Memory Management Unit).

Leave a Reply

Your email address will not be published. Required fields are marked *