aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/programmemory.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-05 00:31:13 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-05 00:31:13 +0200
commit04ea2670be26291a17808bd704ce3549795953a0 (patch)
tree3beb72850745b014eb3ed5eb2e88bfe565c8d2df /qtmips_machine/programmemory.h
parentccf2283819a631cec62ceaec233ee845f28d59d8 (diff)
downloadqtmips-04ea2670be26291a17808bd704ce3549795953a0.tar.gz
qtmips-04ea2670be26291a17808bd704ce3549795953a0.tar.bz2
qtmips-04ea2670be26291a17808bd704ce3549795953a0.zip
Add some more instructions to be decoded and arithmetic I test
Diffstat (limited to 'qtmips_machine/programmemory.h')
-rw-r--r--qtmips_machine/programmemory.h4
1 files changed, 2 insertions, 2 deletions
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