diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-03 11:52:53 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-03 11:52:53 +0100 |
commit | 55e1bc746a45118e14554c957b4ee4663039d9af (patch) | |
tree | af416cb8dd60f47f47b6d9b943a53fe069543cdb /qtmips_machine/instruction.h | |
parent | 53c75d278a958e40b9c0b0ca3b04cfb11f356827 (diff) | |
download | qtmips-55e1bc746a45118e14554c957b4ee4663039d9af.tar.gz qtmips-55e1bc746a45118e14554c957b4ee4663039d9af.tar.bz2 qtmips-55e1bc746a45118e14554c957b4ee4663039d9af.zip |
Implement BREAK instruction to stop continuous execution.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/instruction.h')
-rw-r--r-- | qtmips_machine/instruction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/instruction.h b/qtmips_machine/instruction.h index 1e44a1a..a93be65 100644 --- a/qtmips_machine/instruction.h +++ b/qtmips_machine/instruction.h @@ -33,6 +33,7 @@ public: std::uint32_t data() const; enum Type type() const; bool is_store() const; // Store instructions requires some additional handling so identify them + bool is_break() const; bool operator==(const Instruction &c) const; bool operator!=(const Instruction &c) const; |