Implement thumb1_BIC_reg

This commit is contained in:
MerryMage 2016-07-10 10:44:45 +08:00
parent 98a64a92b1
commit d11df9067d
8 changed files with 31 additions and 2 deletions

View file

@ -199,6 +199,10 @@ public:
return Common::StringFromFormat("orrs %s, %s", RegStr(d_n), RegStr(m));
}
std::string thumb1_BIC_reg(Reg m, Reg d_n) {
return Common::StringFromFormat("bics %s, %s", RegStr(d_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));