George P.

asked • 12/14/21

Create a process flow diagram showing Single-User Contiguous Scheme

Algorithm for Single-User Scheme

1 - Store first memory location of program into base register ( for memory protection)

2 - Set program counter ( it keeps track of memory space used by the program) equal to address of first memory location

3 – Read first the instruction of the program

4 – Increment the program counter by number of bytes in instruction

5 – Has the last instruction been reached?

If yes, then stop loading the program

If no, then continue with step 6

6 – Is the program counter greater that memory size?

If yes, then stop loading the program

If no, then continue with step 7

7 – Load instruction in memory

8 – Read next instruction of the program

9 – Go to step 4

Tasks:

Create a process flow diagram showing Single-User Contiguous Scheme

Observations and Reactions in terms of:

1. The amount of work done by the operating system memory manager

2. Code to be performed by the function

3. Logic

4. Hardware items are needed specific to execution of the algorithm? Enumerate and give its purpose

5. Duration of the program in the memory?

6. Ways of possible termination of the program by the operating system?

7. Support for Multi-programming?


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.