diff options
author | Karel Kočí <cynerd@email.cz> | 2017-12-12 18:53:02 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-12-12 18:53:02 +0100 |
commit | 15398c34d38489bf14a100bbf01fb9fb4c7e46cb (patch) | |
tree | 7121325d9ba6d1166b7faa4b8664bdcac875d995 /qtmips_machine/alu.h | |
parent | 36853877b262bd47417be1637a1854ae3145384e (diff) | |
download | qtmips-15398c34d38489bf14a100bbf01fb9fb4c7e46cb.tar.gz qtmips-15398c34d38489bf14a100bbf01fb9fb4c7e46cb.tar.bz2 qtmips-15398c34d38489bf14a100bbf01fb9fb4c7e46cb.zip |
Implement branch and jump instructions
Diffstat (limited to 'qtmips_machine/alu.h')
-rw-r--r-- | qtmips_machine/alu.h | 2 |
1 files changed, 2 insertions, 0 deletions
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, |