diff options
| author | bd <bdunahu@operationnull.com> | 2025-04-16 23:35:59 -0400 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-04-16 23:35:59 -0400 |
| commit | 796b2691146a3a4eaace4fa155d3c0c2f7379832 (patch) | |
| tree | 8dd83f646bd9ef29ff3c3c492e4f64485d44c1b7 /tests/controller.cc | |
| parent | 23d3ebb2702e6b08c7f6b997067e1bc76483b813 (diff) | |
Fix a bug related to parsing immediates in decode
Diffstat (limited to 'tests/controller.cc')
| -rw-r--r-- | tests/controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controller.cc b/tests/controller.cc index 74284b7..6920933 100644 --- a/tests/controller.cc +++ b/tests/controller.cc @@ -311,7 +311,7 @@ TEST_CASE_METHOD(ControllerPipeFixture, "two num adder", "[full pipe]") CHECK(i->get_time_of(MEM) == 28); CHECK(i->get_time_of(WRITE) == 29); CHECK(i->get_s1() == 0x8); - CHECK(i->get_s2() == 0b111111111111111111001); + CHECK(i->get_s2() == 0xfffffff9); CHECK(this->ct->get_gprs().at(2) == 0x200); CHECK(this->ct->get_gprs().at(5) == 0x0); CHECK(this->ct->get_gprs().at(6) == 0x1); |
