aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instruction.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-03 09:15:26 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-03 09:19:03 +0200
commita3929e9fbe17f859f6835c50b0fd039ecb60a8f9 (patch)
tree4199fc20b07b44162828fa96bf74ecc5a37e127e /qtmips_machine/instruction.h
parentb2d8910f3f60b50bf3fc359dfa37a4da2414cd2f (diff)
downloadqtmips-a3929e9fbe17f859f6835c50b0fd039ecb60a8f9.tar.gz
qtmips-a3929e9fbe17f859f6835c50b0fd039ecb60a8f9.tar.bz2
qtmips-a3929e9fbe17f859f6835c50b0fd039ecb60a8f9.zip
Add option to parse and show symbolic registers names.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r--qtmips_machine/instruction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h
index 03b8f65..b07a0e8 100644
--- a/qtmips_machine/instruction.h
+++ b/qtmips_machine/instruction.h
@@ -162,8 +162,11 @@ public:
bool update(std::int64_t val, RelocExpression *relocexp);
static void append_recognized_instructions(QStringList &list);
+ static void set_symbolic_registers(bool enable);
+ static void append_recognized_registers(QStringList &list);
private:
std::uint32_t dt;
+ static bool symbolic_registers_fl;
};
}