-
Notifications
You must be signed in to change notification settings - Fork 6k
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
68HC05: Fix #7064 - incorrect handling of X-indexed JMP and JSR #7065
base: master
Are you sure you want to change the base?
Conversation
Fix for NationalSecurityAgency#7064 (incorrect handling of X-indexed JMP and JSR)
Fixes NationalSecurityAgency#7064 for 68HC05
This doesn't fix the issue for the HC05/HC08/HCS08. The issue is that the subconstructor is exporting an address, so the So this is what I came up with, and it seems to work well, leaving the brackets in
and
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JMP and JSR Code Review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Format / Master
maybe back to "[ADDRI]" ?
Incorporate fixes from PR
Yep. I agree that this is the correct fix - it seems to work for me too, so I've pulled it into my branch. I've applied the same fix to the 6805 SLASPEC too -- this also had a bug where the non-offset indexed syntax would be incorrect -- it would show as I'll have to read the SLEIGH spec more closely in regard to what the |
Fix for #7064 (incorrect handling of X-indexed JMP and JSR)