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

68000: Update condition flags for ext instruction #6690

Conversation

LukeSerne
Copy link
Contributor

As discussed in #6679, the 68000 manual states that for the ext instruction, the condition flags should be updated. Currently, this is not done, leading to issues in the decompilation (and presumably also emulation) of 68k code that uses this instruction and relies on the condition flags being updated. This commit adds the updates to the condition flags to the sleigh definition of this instruction.

Fixes #6679.

@ryanmkurtz ryanmkurtz added Feature: Processor/68000 Status: Triage Information is being gathered labels Jul 3, 2024
@ryanmkurtz ryanmkurtz added Status: Internal This is being tracked internally by the Ghidra team and removed Status: Triage Information is being gathered labels Jul 11, 2024
@ryanmkurtz ryanmkurtz added this to the 11.2 milestone Jul 11, 2024
@ryanmkurtz ryanmkurtz merged commit 197ce86 into NationalSecurityAgency:master Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Processor/68000 Status: Internal This is being tracked internally by the Ghidra team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

68000: Switch-case jumptable evaluation fails to identify the upper bound and inserts many false references
3 participants