mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 04:04:30 +01:00
Implement thumb1_RSB_imm
This commit is contained in:
parent
6536ad9618
commit
46408267c3
3 changed files with 18 additions and 2 deletions
|
|
@ -182,6 +182,11 @@ public:
|
|||
return Common::StringFromFormat("tst %s, %s", RegStr(n), RegStr(m));
|
||||
}
|
||||
|
||||
std::string thumb1_RSB_imm(Reg n, Reg d) {
|
||||
// Pre-UAL syntax: NEGS <Rd>, <Rn>
|
||||
return Common::StringFromFormat("rsbs %s, %s, #0", RegStr(d), RegStr(n));
|
||||
}
|
||||
|
||||
std::string thumb1_ADD_reg_t2(bool d_n_hi, Reg m, Reg d_n_lo) {
|
||||
Reg d_n = d_n_hi ? (d_n_lo + 8) : d_n_lo;
|
||||
return Common::StringFromFormat("add %s, %s", RegStr(d_n), RegStr(m));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue