ghidra
ghidra copied to clipboard
Fix input register for msr apsr
The msr instruction get the output register from the second 16-bit word, but it must come out of the first 16-bit word.
This patch fixes the decoding.
@GhidorahRex PLEASE will/can you advise if this is okay (and correct) to still merge and hasn't been outdated by any subsequent changes that have been made? (or other similar PRs fixing issues with ARM instructions)
This looks good. I'll try to get it pulled in soon.