mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Write introduction
This commit is contained in:
@@ -3,10 +3,17 @@ title = "Returning from Exceptions"
|
|||||||
date = "2016-08-06"
|
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>
|
<!--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
|
## 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:
|
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:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user