122k views
1 vote
A simple scheme for relocating programs in multiprogramming environments involves the use of a single relocation register. All programs are translated to locations beginning at zero, but every address developed as the program executes is modified by adding to it the contents of the processor’s relocation register. Discuss the use and control of the relocation register in variable-partition multiprogramming. How might the relocation register be used in a protection scheme?

User Jin Thakur
by
3.7k points

1 Answer

3 votes

Answer:

see explaination

Step-by-step explanation:

When we talk about Multiprogramming, we are looking a programming that results to dividing the main memory into several partitions each of which is allocated to a single process.

In Variable-partition, the size and number of partitions are decided during the runtime by the operating system.

Variable partition is mainly used to solve the problem faced by Fixed Partitioning. In contrast with fixed partitioning, partitions are not made before the execution or during system configure.

A few controls of the relocation register in variable-partition:

No Internal Fragmentation

No Restriction on Degree of Multiprogramming

No Limitation on the size of the process

In this,protection often is implemented with multiple boundary registers, called the base and limit registers, for each process.

User Sean Osterberg
by
3.1k points