Step 2 - Memory Protection Violation

Execute the program MEMLAB1.EXE, and instruct the program to perform the following:

  • Allocate one integer.

  • Specify 1200 integers for read/write.

    In this step, the program should terminate with an error. Note the system error message, and the memory location where the error occurred. Given that each integer is a double word (4 bytes), explain why the error occurred.


    [Back: Step 1 - Normal Memory Allocation]
    [Next: Step 3 - Large Memory Allocation]