From 796b2691146a3a4eaace4fa155d3c0c2f7379832 Mon Sep 17 00:00:00 2001 From: bd Date: Wed, 16 Apr 2025 23:35:59 -0400 Subject: Fix a bug related to parsing immediates in decode --- tests/id.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/id.cc') 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; -- cgit v1.2.3