Better Exception Messages

1 · Philipp Oppermann · Aug. 3, 2016, midnight
In this post, we explore exceptions in more detail. Our goal is to print additional information when an exception occurs, for example the values of the instruction and stack pointer. In the course of this, we will explore inline assembly and naked functions. We will also add a handler function for page faults and read the associated error code. As always, the complete source code is on GitHub. Please file issues for any problems, questions, or improvement suggestions. There is also a gitter cha...