aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/tests')
-rw-r--r--qtmips_machine/tests/testcore.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_machine/tests/testcore.cpp b/qtmips_machine/tests/testcore.cpp
index 30cf3c7..5e278b5 100644
--- a/qtmips_machine/tests/testcore.cpp
+++ b/qtmips_machine/tests/testcore.cpp
@@ -122,6 +122,10 @@ static void core_regs_data() {
QTest::newRow("NOR") << Instruction(0, 24, 25, 26, 0, 39) \
<< regs_init \
<< regs_res;
+ regs_res.write_gp(26, 0xf00f0000);
+ QTest::newRow("LUI") << Instruction(15, 0, 26, 0xf00f) \
+ << regs_init \
+ << regs_res;
}
// Move instructions