From 780b3a9daa6a4c4eca9c095ad990334b43cc0dfa Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 7 Feb 2019 17:57:22 +0100 Subject: Correct display of jump and branch instructions. Signed-off-by: Pavel Pisa --- qtmips_machine/instruction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine/instruction.h') 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; -- cgit v1.2.3