aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/tests/testalu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/tests/testalu.cpp')
-rw-r--r--qtmips_machine/tests/testalu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/tests/testalu.cpp b/qtmips_machine/tests/testalu.cpp
index a701b64..819837f 100644
--- a/qtmips_machine/tests/testalu.cpp
+++ b/qtmips_machine/tests/testalu.cpp
@@ -202,7 +202,7 @@ void MachineTests::alu_except_data() {
<< (std::uint32_t)0x8fffffff \
<< (std::uint32_t)0x90000000;
QTest::newRow("SUB") << (std::uint8_t)ALU_OP_SUB \
- << (std::uint32_t)3 \
+ << (std::uint32_t)0x80000003 \
<< (std::uint32_t)4;
// Just test that we can throw unsupported ALU operation
QTest::newRow("?") << (std::uint8_t)ALU_OP_LAST \