From 55e1bc746a45118e14554c957b4ee4663039d9af Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 3 Feb 2019 11:52:53 +0100 Subject: Implement BREAK instruction to stop continuous execution. Signed-off-by: Pavel Pisa --- qtmips_machine/alu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qtmips_machine/alu.h') 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, -- cgit v1.2.3