mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-01 04:04:30 +01:00
Implement thumb1_CMP_reg
This commit is contained in:
parent
46408267c3
commit
641dbf8eb4
3 changed files with 15 additions and 2 deletions
|
|
@ -187,6 +187,10 @@ public:
|
|||
return Common::StringFromFormat("rsbs %s, %s, #0", RegStr(d), RegStr(n));
|
||||
}
|
||||
|
||||
std::string thumb1_CMP_reg(Reg m, Reg n) {
|
||||
return Common::StringFromFormat("cmp %s, %s", RegStr(n), RegStr(m));
|
||||
}
|
||||
|
||||
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