aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/core.cpp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-08 13:44:03 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-08 13:44:03 +0200
commit2add5df6e7f028e9edafecca7953505b52d73253 (patch)
tree882e63eaa940f8868f0f5f8fb9975b00ee674fd7 /qtmips_machine/core.cpp
parent179a1346a833d0039de5b0570f27045511b30dc4 (diff)
downloadqtmips-2add5df6e7f028e9edafecca7953505b52d73253.tar.gz
qtmips-2add5df6e7f028e9edafecca7953505b52d73253.tar.bz2
qtmips-2add5df6e7f028e9edafecca7953505b52d73253.zip
Implement LUI
Diffstat (limited to 'qtmips_machine/core.cpp')
-rw-r--r--qtmips_machine/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/core.cpp b/qtmips_machine/core.cpp
index 617f8c2..1e31584 100644
--- a/qtmips_machine/core.cpp
+++ b/qtmips_machine/core.cpp
@@ -39,7 +39,7 @@ static const struct DecodeMap dmap[] = {
{ .flags = FLAGS_ALU_I, .alu = ALU_OP_AND, NOMEM }, // ANDI
{ .flags = FLAGS_ALU_I, .alu = ALU_OP_OR, NOMEM }, // ORI
{ .flags = FLAGS_ALU_I, .alu = ALU_OP_XOR, NOMEM }, // XORI
- NOPE, // LUI
+ { .flags = FLAGS_ALU_I, .alu = ALU_OP_LUI, NOMEM}, // LUI
NOPE, // 16
NOPE, // 17
NOPE, // 18