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

arm7tdmi: fix additional instructions that require offset when reading PC #1363

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

png183
Copy link
Contributor

@png183 png183 commented Jan 12, 2024

Depending on which cycle they read values from registers, instructions will read a different PC value. This is handled in ares by adding an offset to the program counter (r15) value in affected cases. This PR applies the offset in a few instructions that are affected by this behaviour, but were previously not covered.

@LukeUsher LukeUsher merged commit 99a40e4 into ares-emulator:master Jan 13, 2024
9 checks passed
@png183 png183 deleted the pc-offset branch January 22, 2024 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants