ADDRESS BINDING


Address binding is the process of mapping the program's logical or virtual addresses to corresponding physical or main memory addresses.
In other words, a given logical address is mapped by the MMU (Memory Management Unit) to a physical address.

CPU generates the logical or virtual address for an instruction/data to be fetched from RAM.
The logical address undergoes translation by the MMU or address translation unit in particular.
The output of this process is the appropriate physical address or the location of code/data in RAM.
The above described three-step process is also known as execution or run-time address binding where each physical memory reference is resolved only when the reference is made at run-time.
 Until a reference is made, address resolution or binding does not happen.
This type of binding requires the compiler to generate relocatable or offset based addresses from the source code.
 The exact manner of carrying out the address mapping is dependent on the memory management scheme employed by the operating system.

No comments:

Post a Comment