Skip to content

corrects trap state checking in memory operations (updated generator) - #65

Open
EAlexJ wants to merge 1 commit into
mainfrom
bugfix/async_traps
Open

EAlexJ wants to merge 1 commit into
mainfrom
bugfix/async_traps

Conversation

@EAlexJ

@EAlexJ EAlexJ commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

In case an interrupt arrived before a memory operation the instruction would not be retired but the NEXT_PC was already bumped. I made the decision that asynchronous traps only get checked after instructions retire, synchronous traps get taken immediately when they arise The alternative would have been to move the PC bump to after the instruction behavior

In case an interrupt arrived before a memory operation the instruction would not be retired but the NEXT_PC was already bumped.
I made the decision that asynchronous traps only get checked after instructions retire, synchronous traps get taken immediately when they arise
The alternative would have been to move the PC bump to after the instruction behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant