2.7 procs
This exercise is optional.
Refer to the exercise policy for details.
Implement an interpreter for a machine like the MIC-1, but add a
SYSCALL instruction (in replace of HALT) that
executes a system call (specified by the accumulator). Build the
kernel into the interpreter. Use this simple model to help you
understand how a context-switch happens and how the kernel
intermediates hardware resources.