address binding with compile time , load time and run time code example
Example: execution time address binding in os
Compile Time Address Binding:
If the compiler is responsible of performing address binding then it is called as compile time address binding. This type of address binding will be done before loading the program into memory. The compiler required to interact with the operating system memory manager to perform compile time address binding.
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