What is address binding in memory management in OS?
In most systems, the user program may load in any part of the physical memory.
Note that the address space of the memory starts at 0000, but the first address
of the user process need not be 0000. Addresses (variables or instructions) in
the source program are generally symbolic (such as A, B, C, name, age, count
etc.). These addresses are also referred to as symbolic addresses.
The compiler
converts these addresses to logical addresses. Typically, a compiler binds
these symbolic addresses to re-locatable addresses such as 24 bytes from the
beginning of this module. The linkage editor binds the re-locatable addresses
to absolute addresses such as 41040. Each binding is a mapping from one address
to another. Therefore, the addresses generated by the compiler (translator
program) must be converted to physical addresses, where the instructions and
data of a program are to be stored. This process is called address binding.
|