Difference between Logical and Physical Address Space

Q1. Explain the difference between Logical Address Space and Physical Address Space.

Ans.

Logical and physical addresses are same in compile time and load time but differ in execution time address binding scheme.

Logical Physical
  1. An address generated by CPU is referred to us a logical address.
1. An address seen by memory unit that is, the one loaded into the memory address register of the memory is referred to as physical address.
2. The set of all logical address generated by a program is a logical address space. 2. The set of all physical address corresponding to these logical addresses is a physical address.
3. For user view.  3. For system view.
4. The user program deals with logical address or these are generated by user (program).  4. These are generated by memory management unit (MMU).
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s