diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-07 17:57:22 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-07 17:57:22 +0100 |
commit | 780b3a9daa6a4c4eca9c095ad990334b43cc0dfa (patch) | |
tree | b3da1957fbf5b0fedebf5e7732268bafeea86354 /qtmips_machine/instruction.h | |
parent | 60c7bfa8260f9aa68bd7947ecddfe64e030b0c7a (diff) | |
download | qtmips-780b3a9daa6a4c4eca9c095ad990334b43cc0dfa.tar.gz qtmips-780b3a9daa6a4c4eca9c095ad990334b43cc0dfa.tar.bz2 qtmips-780b3a9daa6a4c4eca9c095ad990334b43cc0dfa.zip |
Correct display of jump and branch instructions.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r-- | qtmips_machine/instruction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h index b26d9ac..e896ace 100644 --- a/qtmips_machine/instruction.h +++ b/qtmips_machine/instruction.h @@ -110,7 +110,7 @@ public: bool operator!=(const Instruction &c) const; Instruction &operator=(const Instruction &c); - QString to_str() const; + QString to_str(std::int32_t inst_addr = 0) const; private: std::uint32_t dt; |