From 04ea2670be26291a17808bd704ce3549795953a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 5 Sep 2017 00:31:13 +0200 Subject: Add some more instructions to be decoded and arithmetic I test --- qtmips_machine/programmemory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qtmips_machine/programmemory.h') diff --git a/qtmips_machine/programmemory.h b/qtmips_machine/programmemory.h index 158adb1..14187c5 100644 --- a/qtmips_machine/programmemory.h +++ b/qtmips_machine/programmemory.h @@ -16,8 +16,8 @@ public: private: MemoryAccess *memory; Instruction *decode_r(std::uint32_t dt); - Instruction *decode_j(std::uint32_t dt); - Instruction *decode_i(std::uint32_t dt); + Instruction *decode_j(std::uint32_t dt, std::uint8_t opcode); + Instruction *decode_i(std::uint32_t dt, std::uint8_t opcode); }; #endif // PROGRAMMEMORY_H -- cgit v1.2.3