aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/instruction.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-11-21 22:37:59 +0100
committerKarel Kočí <cynerd@email.cz>2017-11-21 22:37:59 +0100
commitc4efaa81d4bf498c721db5cdbf932e7a3bcb0cae (patch)
treeadffb9dfb4b0d020aa68484bca961c8f3083e5f7 /qtmips_machine/instruction.h
parentcd9e572b6523fac483ce1695ae1785fca075cc53 (diff)
downloadqtmips-c4efaa81d4bf498c721db5cdbf932e7a3bcb0cae.tar.gz
qtmips-c4efaa81d4bf498c721db5cdbf932e7a3bcb0cae.tar.bz2
qtmips-c4efaa81d4bf498c721db5cdbf932e7a3bcb0cae.zip
Implement tests for few more arithmetic instructions
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r--qtmips_machine/instruction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h
index 921d9b0..aa53973 100644
--- a/qtmips_machine/instruction.h
+++ b/qtmips_machine/instruction.h
@@ -26,7 +26,8 @@ public:
std::uint32_t address() const;
std::uint32_t data() const;
- bool operator ==(const Instruction &c) const;
+ bool operator==(const Instruction &c) const;
+ bool operator!=(const Instruction &c) const;
private:
std::uint32_t dt;