aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/alu.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-11-25 16:39:10 +0100
committerKarel Kočí <cynerd@email.cz>2017-11-25 16:39:10 +0100
commit0d7da86ea5e5187dca2e843549c33f761e35f068 (patch)
tree5dd1df523fd7665a78532c52043dac7117cfb23d /qtmips_machine/alu.h
parent8f6d939e8d0fdec39c53da65cfb89f288d99eb82 (diff)
downloadqtmips-0d7da86ea5e5187dca2e843549c33f761e35f068.tar.gz
qtmips-0d7da86ea5e5187dca2e843549c33f761e35f068.tar.bz2
qtmips-0d7da86ea5e5187dca2e843549c33f761e35f068.zip
Add crude implementation of MOV* instructions
I don't like how it's implemented but I have no other idea atm.
Diffstat (limited to 'qtmips_machine/alu.h')
-rw-r--r--qtmips_machine/alu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/alu.h b/qtmips_machine/alu.h
index 2c311d2..4818bb1 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_MOVZ = 10,
+ ALU_OP_MOVN,
ALU_OP_MFHI = 16,
ALU_OP_MTHI,
ALU_OP_MFLO,