mirror of
https://github.com/yuzu-mirror/dynarmic.git
synced 2026-04-21 06:03:42 +00:00
TranslateArm: Implement STM, STMDA, STMDB, STMIB
This commit is contained in:
parent
5d26899ac9
commit
d0d51ba346
4 changed files with 83 additions and 6 deletions
|
|
@ -381,7 +381,18 @@ public:
|
|||
}
|
||||
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"; }
|
||||
std::string arm_STM(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("stm%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_STMDA(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("stmda%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_STMDB(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("stmdb%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_STMIB(Cond cond, bool W, Reg n, RegList list) {
|
||||
return Common::StringFromFormat("stmib%s %s%s, {%s}", CondToString(cond), RegToString(n), W ? "!" : "", RegListToString(list).c_str());
|
||||
}
|
||||
std::string arm_STM_usr() { return "ice"; }
|
||||
|
||||
// Miscellaneous instructions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue