aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/alu.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-03 11:52:53 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-03 11:52:53 +0100
commit55e1bc746a45118e14554c957b4ee4663039d9af (patch)
treeaf416cb8dd60f47f47b6d9b943a53fe069543cdb /qtmips_machine/alu.h
parent53c75d278a958e40b9c0b0ca3b04cfb11f356827 (diff)
downloadqtmips-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/alu.h')
-rw-r--r--qtmips_machine/alu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/alu.h b/qtmips_machine/alu.h
index 7846244..351e124 100644
--- a/qtmips_machine/alu.h
+++ b/qtmips_machine/alu.h
@@ -19,6 +19,7 @@ enum AluOp : std::uint8_t {
ALU_OP_JALR,
ALU_OP_MOVZ,
ALU_OP_MOVN,
+ ALU_OP_BREAK = 13,
ALU_OP_MFHI = 16,
ALU_OP_MTHI,
ALU_OP_MFLO,