mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2025-12-27 09:45:19 +01:00
TranslateArm: Implement LDM, LDMDA, LDMDB, LDMIB
This commit is contained in:
parent
46e4864707
commit
85549d7ae2
4 changed files with 86 additions and 5 deletions
|
|
@ -367,7 +367,18 @@ public:
|
|||
std::string arm_STRT() { return "ice"; }
|
||||
|
||||
// Load/Store multiple instructions
|
||||
std::string arm_LDM(Cond cond, bool P, bool U, bool W, Reg n, RegList list) { return "ice"; }
|
||||
std::string arm_LDM(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("ldm%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_LDMDA(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("ldmda%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_LDMDB(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("ldmdb%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_LDMIB(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("ldmib%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_LDM_usr() { return "ice"; }
|
||||
std::string arm_LDM_eret() { return "ice"; }
|
||||
std::string arm_STM(Cond cond, bool P, bool U, bool W, Reg n, RegList list) { return "ice"; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue