Exercise 2 - Memory Protection

This exercise demonstrates the different memory attributes used for different types of memory access, and the resulting impact on the allowed usage of memory (read or write). The access types used in this lab exercise are READ, WRITE, and EXECUTE. The effect of not committing pages and accessing a guarded page is also shown.

In this exercise, the student is required to run the program:

               MEMLAB2.EXE

This program does the following:

  • Asks for the amount of memory to be allocated

  • Asks for the type of allocation: