diff options
author | Karel Kočí <cynerd@email.cz> | 2017-11-25 16:39:10 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-11-25 16:39:10 +0100 |
commit | 0d7da86ea5e5187dca2e843549c33f761e35f068 (patch) | |
tree | 5dd1df523fd7665a78532c52043dac7117cfb23d /qtmips_machine/alu.h | |
parent | 8f6d939e8d0fdec39c53da65cfb89f288d99eb82 (diff) | |
download | qtmips-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.h | 2 |
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, |