Home » Software Development » Software Development Tutorials » Top Differences Tutorial » Physical Address vs Logical Address

*
*
*

Key Difference between the Physical Address and Logical Address

Let us discuss some of the major key differences between Physical Address vs Logical Address:

A physical address is an address that shows the location of memory while a logical address shows the address of the CPU, i.e. the central processor unit generates the Address.One device can have only one physical address. They are constant, so they cannot be changed. One device can have a variety of logical addresses. Whereas logical addresses are dynamic, they can be changed.The memory management unit generates the physical address, while the CPU generates the logical address.The mapping of physical address to logical address is considered as a physical address. For programs, the CPU generates the set of logical addresses known as a logical address space.A physical address cannot be accessed directly, while we can access logical addresses directly.Users cannot view physical addresses while they can view logical addresses easily.Physical Addresses Space is a set of all Physical addresses generated in a program. Also, Logical Addresses Space is a set of all Logical addresses generated in a program.Physical addresses and Logical addresses need the same time for compiling and load time addresses binding schemes. On the other hand, physical addresses and logical addresses take different times for execution.A physical address is used to identify the location of the memory, while on the other hand, the logical address is used to access a physical address.

You are watching: Name two differences between logical and physical addresses

Comparison Table

The table below summarizes the comparisons between Physical Address vs Logical Address:

Basics for comparisonPhysical AddressLogical Address
DefinitionThe physical address is a location of memory/storage.Logical addresses are generated by the CPU.
Generated ByThe physical address is generated by MUM (Memory management unit)The logical address is generated by the CPU (Central processor unit).
Accessed ByUsers cannot access physical addresses directly. It uses a logical address to access physical addresses.Users can access logical addresses directly. It is used to access physical addresses.
Space for AddressA set of the physical address is mapped into the logical address and is considered as a physical address.CPU generates a set of the logical address corresponding to programs are considered as logical address space.
VisibilityIt is not visible to the user. Users cannot view the physical address.It is visible to the user. Users can view logical addresses easily.
VariationThere is only one physical address for one device. Physical addresses are constant.The logical addresses can be varied. There are variations for the logical address.
Access to ChangeA physical address cannot change.The logical address can be change.
UsesIt is used to find the physical location of the memory.It is used to view the physical address.
Time for compilation and load time address binding schemesSame as Logical addresses.

See more: Power Of 10 To The Power Of 22 Table, Exponent Calculator

Same as Physical addresses.

Recommended Articles

This has been a guide to the difference between Physical Address vs Logical Address. Here we also discuss the key differences with infographics and comparison table. You may also have a look at the following articles to learn more–