NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
49.09k stars 5.65k forks source link

Fix input register for msr apsr #6598

Open danlehmann opened 1 month ago

danlehmann commented 1 month ago

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.