Encyclopedia > Position independent

  Article Content

Position independent

Position independent machine code is not dependent on the memory address it starts from. It can be stored in any memory location and still work correctly. Computers that support virtual memory don't require the use of position independent code since the MMU transparently handles the relocation of code.

Code must generally be written in a special fashion in order to be position independent. Instructions that refer to specific memory addresses, such as absolute branches, must be replaced with the equivalent instruction register relative instruction.



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Westhampton Beach, New York

... 32.7% of all households are made up of individuals and 13.7% have someone living alone who is 65 years of age or older. The average household size is 2.25 and the average ...

 
 
 
This page was created in 28.1 ms