👩💻 Join our community of thousands of amazing developers!
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. Note: This post describes how to handle exceptions using naked functions (see “Handling Exceptions with N...