From 15398c34d38489bf14a100bbf01fb9fb4c7e46cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 12 Dec 2017 18:53:02 +0100 Subject: Implement branch and jump instructions --- qtmips_machine/alu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qtmips_machine/alu.h') diff --git a/qtmips_machine/alu.h b/qtmips_machine/alu.h index 4818bb1..95042f4 100644 --- a/qtmips_machine/alu.h +++ b/qtmips_machine/alu.h @@ -14,6 +14,8 @@ enum AluOp : std::uint8_t { ALU_OP_SLLV, ALU_OP_SRLV = 6, ALU_OP_SRAV, + ALU_OP_JR, + ALU_OP_JALR, ALU_OP_MOVZ = 10, ALU_OP_MOVN, ALU_OP_MFHI = 16, -- cgit v1.2.3