Prerequisite – Address Binding Methods
Address Binding is the association of program instructions and data to the actual physical memory location. There are various types of address binding in the operating system.
There are 3 types of Address Binding:
- Compile Time Address Binding
- Load Time Address Binding
- Execution Time Address Binding
Here, we compare Load Time and Execution Time address binding as following below.
Load Time Address Binding:
This type of address binding will be done after loading the program into memory. Load time address binding will be done by operating memory manager.
Execution Time or Dynamic Address Binding:
The address binding will be postponed even after loading the program into memory. The program will keep on changing the locations in the memory till the time of program execution. This type of Address binding will be done by the processor at the time of program execution.
Difference between Load Time and Execution Time address binding:
|Load Time Address Binding||Execution Time Address Binding|
|Loader is responsible for the load time address binding.||Execution time address binding is done by processor.|
|It generates physical address.||It generates dynamic absolute address.|
|Load time address binding is done after loading the program into memory.||Execution time address binding is done at the time of program execution.|
|Absolute address is converted to relocatable address.||It helps in execution.|
|Instructions are loaded in memory.||From memory instructions are executed by CPU.|
|It works with physical address.||It works with dynamic absolute address.|
|It is static address binding.||It is dynamic address binding.|
|It is done by operating system memory manager itself.||It is done by processor at the time of program execution.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.