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
U.S. presidential election, 1804

... elections: 1792, 1796, 1800, 1804, 1808, 1812, 1816 Source: U.S. Office of the Federal R ...

 
 
 
This page was created in 32.3 ms