thumb: add disassembler

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-09-27 17:31:00 +05:30
parent 208527b7f8
commit 5ec5e6dddc
13 changed files with 716 additions and 71 deletions

View File

@@ -1,8 +1,7 @@
#include "instruction.hh"
#include "util/bits.hh"
namespace matar {
namespace arm {
namespace matar::arm {
std::string
Instruction::disassemble() {
auto condition = stringify(this->condition);
@@ -232,4 +231,3 @@ Instruction::disassemble() {
data);
}
}
}