Too Long; Didn't Read
Exceptions can happen at any point in time during operation of the processor. Division by zero and page faults are examples of exceptions. We will focus on one of the simpler exceptions - division by zero. After working through this article you should be able to extend the code to handle other exceptions, interrupts or traps. The code is available at Gitlab: https://gitlab.com/mvuksano/kvm-playground/tree/master/07-exceptions.