mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-16 15:40:14 +00:00
The `movem` instruction's `(d16, PC)` addressing mode has an instruction word, a mask word, and then an extension word. The addressing mode uses the value of PC incremented to the extension word, in this case `instr_start + 4`. The sleigh code incorrectly uses `instr_start + 2`. The issue is present for both `movem.w` and `movem.l` variants. This PR fixes the `PC` offset to `+4`. See 68000 reference manual page 2-13 for PC indirect addressing mode, and 4-128 for MOVEM documentation. Partially addresses #4807. |
||
---|---|---|
.. | ||
data | ||
src | ||
build.gradle | ||
certification.manifest | ||
Module.manifest |