x86 Handling Exceptions

Written by mvuksano | Published 2020/08/25
Tech Story Tags: x86 | virtualization | assembly | nano-vm | nested-vm | 64bit | hardware | cpu | web-monetization

TLDR 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.via the TL;DR App

no story

Written by mvuksano | PSS - Pragmatic problem solver @ Facebook
Published by HackerNoon on 2020/08/25