mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-18 07:17:49 +00:00
Add notes on old posts
This commit is contained in:
@@ -13,6 +13,8 @@ As always, the complete source code is on [Github]. Please file [issues] for any
|
||||
[Github]: https://github.com/phil-opp/blog_os/tree/catching_exceptions
|
||||
[issues]: https://github.com/phil-opp/blog_os/issues
|
||||
|
||||
> **Note**: This post describes how to handle exceptions using naked functions (see <a href="/handling-exceptions-with-naked-fns.html">“Handling Exceptions with Naked Functions”</a> for an overview). Our new way of handling exceptions can be found in the <a href="/handling-exceptions.html">“Handling Exceptions”</a> post.
|
||||
|
||||
## Exceptions
|
||||
An exception signals that something is wrong with the current instruction. For example, the CPU issues an exception if the current instruction tries to divide by 0. When an exception occurs, the CPU interrupts its current work and immediately calls a specific exception handler function, depending on the exception type.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user