Implement memory endianness. Implement Thumb SETEND instruction.

This commit is contained in:
MerryMage 2016-07-20 15:34:17 +01:00
parent 98bd7ff6a5
commit 90d317b868
9 changed files with 54 additions and 9 deletions

View file

@ -359,6 +359,10 @@ public:
return "pop " + RegListStr(reg_list);
}
std::string thumb16_SETEND(bool E) {
return Common::StringFromFormat("setend %s", E ? "BE" : "LE");
}
std::string thumb16_REV(Reg m, Reg d) {
return Common::StringFromFormat("rev %s, %s", RegStr(d), RegStr(m));
}