+1 vote
157 views
in Compilers & Operating Systems by

1 Answer

+1 vote
by
selected by (user.guest)
 
Best answer

Address Binding and Relocation

To solve the problem, we need to set up some kind of correspondence between “program addresses” and “real addresses”. This can be done: 

at compile time:

– requires knowledge of absolute addresses; e.g. DOS .com files.

• at load time:

– when program loaded, work out position in memory and update every relevant instruction in code with correct addresses. 

– must be done every time program is loaded

– ok for embedded systems / boot-loaders

at run-time:

– get some hardware to automatically translate between program addresses and real addresses. 

– no changes at all required to program itself.

– most popular and flexible scheme, providing we have the requisite hardware, viz. a memory management unit or MMU.


Related questions

+2 votes
1 answer 520 views
+1 vote
1 answer 1.0k views
+1 vote
1 answer 75 views
asked Sep 15, 2021 in Compilers & Operating Systems by anonymous
+1 vote
1 answer 274 views
+1 vote
1 answer 268 views
asked Oct 10, 2019 in Compilers & Operating Systems by anonymous
+1 vote
1 answer 169 views
asked Oct 10, 2019 in Compilers & Operating Systems by anonymous
+2 votes
1 answer 147 views
asked Oct 10, 2019 in Compilers & Operating Systems by anonymous
+1 vote
1 answer 357 views
+1 vote
1 answer 62 views
0 votes
1 answer 46 views
0 votes
0 answers 56 views
+1 vote
1 answer 154 views
+1 vote
1 answer 271 views
+1 vote
1 answer 202 views
asked Jul 13, 2021 in Computer Networks by anonymous
+1 vote
1 answer 446 views
0 votes
0 answers 263 views
0 votes
1 answer 171 views
+1 vote
1 answer 519 views
+1 vote
1 answer 62 views
+1 vote
1 answer 92 views
+1 vote
1 answer 313 views
Welcome to CPENTalk.com
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...