Skip to content

Maiko: CHECK_INTERRUPT #166

Answered by nbriggs
waywardmonkeys asked this question in Q&A
Discussion options

You must be logged in to vote

I think what happens (check me on this!) is that if it is actually executing Lisp code in the interrupt, it will save and restore the stack, but when it returns it will return to the same opcode that it was executing (from the JUMPMACRO) because the PC has not been updated, this time the interrupt check won't fire, and it will update the PC appropriately and end up in the real next opcode.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@waywardmonkeys
Comment options

Answer selected by waywardmonkeys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants