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

Clearing out the buffer if we hit an invalid condition #42

Open
olgarose opened this issue May 29, 2017 · 2 comments
Open

Clearing out the buffer if we hit an invalid condition #42

olgarose opened this issue May 29, 2017 · 2 comments

Comments

@olgarose
Copy link
Collaborator

Do we need to keep track of what we put in the buffer for EA? For OPCODE, I don't but anything into the buffer until I'm sure it's valid... can EA have a valid source and then an invalid destination? We would need to clear out the source then.

@dwinasolihin
Copy link
Collaborator

dwinasolihin commented May 29, 2017

I though EA could have a valid source but invalid destination. Are we checking EA before putting into the buffer?

@peterstanton
Copy link
Owner

Right now if we hit an invalid condition for EA we branch to INVALID_EA. Can that just clear the buffer and fill it with whatever we're supposed to for garbage commands?

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

No branches or pull requests

3 participants