A32: Implement Thumb-16's variant of BKPT

This commit is contained in:
Lioncash 2019-05-02 22:32:40 -04:00 committed by MerryMage
parent 675f67e41d
commit b17a5d3365
3 changed files with 14 additions and 1 deletions

View file

@ -292,6 +292,10 @@ public:
return fmt::format("revsh {}, {}", d, m);
}
std::string thumb16_BKPT(Imm<8> imm8) {
return fmt::format("bkpt #{}", imm8.ZeroExtend());
}
std::string thumb16_STMIA(Reg n, RegList reg_list) {
return fmt::format("stm {}!, {{{}}}", n, RegListToString(reg_list));
}