From 5a00bddd7c67ab865e7d5a83de4de686fc6d9820 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 20 Sep 2016 17:31:28 +0200 Subject: [PATCH] Write introduction --- blog/post/11-returning-from-exceptions.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/blog/post/11-returning-from-exceptions.md b/blog/post/11-returning-from-exceptions.md index d0f4fa42..c003f187 100644 --- a/blog/post/11-returning-from-exceptions.md +++ b/blog/post/11-returning-from-exceptions.md @@ -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. +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: