disassembler_arm: Fix disassembly of LDRH (reg)
This commit is contained in:
parent
90480aade2
commit
6197bde0fc
1 changed files with 2 additions and 2 deletions
|
@ -451,9 +451,9 @@ public:
|
|||
}
|
||||
std::string arm_LDRH_reg(Cond cond, bool P, bool U, bool W, Reg n, Reg t, Reg m) {
|
||||
if (P) {
|
||||
return fmt::format("ldrd{} {}, [{}, {}{}]{}", CondToString(cond), t, n, U ? '+' : '-', m, W ? "!" : "");
|
||||
return fmt::format("ldrh{} {}, [{}, {}{}]{}", CondToString(cond), t, n, U ? '+' : '-', m, W ? "!" : "");
|
||||
} else {
|
||||
return fmt::format("ldrd{} {}, [{}], {}{}{}", CondToString(cond), t, n, U ? '+' : '-', m, W ? " (err: W == 1!!!)" : "");
|
||||
return fmt::format("ldrh{} {}, [{}], {}{}{}", CondToString(cond), t, n, U ? '+' : '-', m, W ? " (err: W == 1!!!)" : "");
|
||||
}
|
||||
}
|
||||
std::string arm_LDRHT() { return "ice"; }
|
||||
|
|
Loading…
Reference in a new issue