Write introduction

This commit is contained in:
Philipp Oppermann
2016-09-20 17:31:28 +02:00
parent 626763d452
commit 5a00bddd7c

View File

@@ -3,10 +3,17 @@ title = "Returning from Exceptions"
date = "2016-08-06"
+++
In this post, we learn how to return from exceptions correctly. TODO
In this post, we learn how to return from exceptions correctly. In the course of this, we will explore the `iretq` instruction, the C calling convention, multimedia registers, and the red zone.
<!--more--><aside id="toc"></aside>
As always, the complete source code is on [Github]. Please file [issues] for any problems, questions, or improvement suggestions. There is also a [gitter chat] and a [comment section] at the end of this page.
[Github]: https://github.com/phil-opp/blog_os/tree/returning_from_exceptions
[issues]: https://github.com/phil-opp/blog_os/issues
[gitter chat]: https://gitter.im/phil-opp/blog_os
[comment section]: #disqus_thread
## Introduction
Most exceptions are fatal and can't be resolved. For example, we can't return from a divide-by-zero exception in a reasonable way. However, there are some exceptions that we can resolve: