Question: This should be written in C. Thanks! Problem 7: (7 pts) Suppose we have a simple machine. All the memory addresses lower than or equal

This should be written in C. Thanks!
Problem 7: (7 pts) Suppose we have a simple machine. All the memory addresses lower than or equal to 100 belong to the kernel space, and the memory addresses higher than 100 belong to the user space. Suppose that the mode register has value 0 when the processor is in the kernel mode; 1 when in the user mode. Given the above information, please modify the instruction decode phase to check whether the instruction has a mode violation. Please write down the pseudo-code. Soln
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
