769 views
1 votes
1 votes
I have gone through this link but still I am unable to get what is it actually trying to convey , when binding is done at execution time then obviously before it we must have loaded the process so then load time binding must have been performed as well as after it is loaded then we in the entire life time of the process it may be swapped in and out accordingly so relocation will be done in the entire execution of the process , so will the contents of relocation register remain same or vary since before execution load time binding will surely occur so then how do the contents of relocation register vary ?

1 Answer

0 votes
0 votes
The concept of binding says only that when the absolute address will be available for the process. if during run time it is available then it is run time binding or if available at load time which is necessary if absolute address is not available at any of the above points. relocation register is set to the absolute address at that time only according to the binding you are using.  otherwise any other address in the register will be only called relocatable address only because that is not absolute address. what  should know is only that . there are only two type address. relocatable address and absolute address. absolute address is the address at which finally after all the linking and symbol resolution program will be loaded. so any address in the intermediate stages will only be called relocation address.

Related questions

3 votes
3 votes
3 answers
4
Purple asked Jan 29, 2016
6,222 views
How long does it take to load a 64-KB program from a disk whose average seek time is 10 msec., whose rotation time is 20 msecs., and whose track holds 32-KB for a 2-KB pa...