summaryrefslogtreecommitdiff
path: root/tests/id.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-16 23:35:59 -0400
committerbd <bdunahu@operationnull.com>2025-04-16 23:35:59 -0400
commit796b2691146a3a4eaace4fa155d3c0c2f7379832 (patch)
tree8dd83f646bd9ef29ff3c3c492e4f64485d44c1b7 /tests/id.cc
parent23d3ebb2702e6b08c7f6b997067e1bc76483b813 (diff)
Fix a bug related to parsing immediates in decode
Diffstat (limited to 'tests/id.cc')
-rw-r--r--tests/id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/id.cc b/tests/id.cc
index b8d0479..5af15fc 100644
--- a/tests/id.cc
+++ b/tests/id.cc
@@ -185,7 +185,7 @@ TEST_CASE_METHOD(IDFixture, "Parse arbitrary j-type # two", "[id]")
i = this->decode_bits(t);
CHECK(i->get_s1() == 0x00000000); // registers are empty
- CHECK(i->get_s2() == 0xBBCCF);
+ CHECK(i->get_s2() == 0xFFFBBCCF);
CHECK(i->get_mnemonic() == JAL);
delete i;