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

Add a temp for jalr jump target #9

Open
Mr-Wiseguy opened this issue Mar 25, 2023 · 0 comments
Open

Add a temp for jalr jump target #9

Mr-Wiseguy opened this issue Mar 25, 2023 · 0 comments

Comments

@Mr-Wiseguy
Copy link
Collaborator

Currently, if the delay slot instruction for a jalr modifies the jump target register then the jalr will lookup the wrong address for the function call. Add a temp to record the jalr target that records the register value before the delay slot is run to prevent this from happening.

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

No branches or pull requests

1 participant