What is the difference between compile-time, load-time, and execution-time address binding?

Last updated 5 July 2026

  • Compile-time binding: the compiler emits absolute addresses, so moving the program requires recompilation.

  • Load-time binding: the compiler emits relocatable code and the loader fixes addresses at load. The process can't move afterward.

  • Execution-time binding: the MMU (memory management unit) translates logical to physical addresses on every access. This enables swapping and dynamic relocation, so modern OSes use it.

  • https://www.geeksforgeeks.org/compiler-design/difference-between-compile-time-and-execution-time-address-binding/
  • https://www.geeksforgeeks.org/compiler-design/difference-between-compile-time-and-load-time-address-binding/
  • https://www.geeksforgeeks.org/compiler-design/difference-between-load-time-and-execution-time-address-binding/
All Operating Systems interview questions