Windows Programing Question:

What is Binding of Instructions and Data to Memory?

Tweet Share WhatsApp

Answer:

Address binding of instructions and data to memory addresses can happen at three different stages
Compile time: If memory location known a priori, absolute code can be generated; must recompile code if starting location changes.
Load time: Must generate relocatable code if memory location is not known at compile time.
Execution time: Binding delayed until run time if the process can be moved during its execution from one memory segment to another. Need hardware support for address maps (e.g., base and limit registers).
Multistep Processing of a User Program

Download Windows Programing PDF Read All 35 Windows Programing Questions
Previous QuestionNext Question
What is Segmentation with paging?Explain How does the kernel object outlive the process that created it?