Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception state machines #139

Open
larsbrinkhoff opened this issue Apr 19, 2016 · 1 comment
Open

Exception state machines #139

larsbrinkhoff opened this issue Apr 19, 2016 · 1 comment
Labels

Comments

@larsbrinkhoff
Copy link
Member

larsbrinkhoff commented Apr 19, 2016

In the current implementation of the clocked CPU, the cycles for exceptions go unaccounted for. The reason is probably that an exception occurs in the space between one instruction ending, and the next beginning.

We need some kind of state machine(s) for exceptions. In a way, they should behave just like ordinary instructions.

@stefanberndtsson
Copy link
Member

I included exception state machine ideas in my proposal in #143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants