diff options
author | bd <bdunahu@operationnull.com> | 2025-05-11 12:20:33 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-11 12:21:34 -0400 |
commit | 26c24ab3c581967015490d1a11ee098bb5ba338a (patch) | |
tree | 94c8f59ae7d530127d8cd49ce1e6480da7397d6f /tests/id.cc | |
parent | 6f4e9e0b914c3e68691a5d884cbad0b5813fcf18 (diff) |
Replaced STOREV with LOADV
Diffstat (limited to 'tests/id.cc')
-rw-r--r-- | tests/id.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/id.cc b/tests/id.cc index b52ad9c..20b3200 100644 --- a/tests/id.cc +++ b/tests/id.cc @@ -166,13 +166,13 @@ TEST_CASE_METHOD(IDFixture, "Parse arbitrary i-type # two", "[id]") signed int t; InstrDTO *i; - t = this->encode_I_type(0xCC, 0b10101, 0b00110, 0b11011, 0b1); + t = this->encode_I_type(0xCC, 0b10101, 0b00110, 0b11010, 0b1); i = this->decode_bits(t); CHECK(i->operands.integer.slot_one == 0x00000000); // registers are empty CHECK(i->operands.integer.slot_two == 0x00000000); CHECK(i->operands.integer.slot_three == 0xCC); - CHECK(i->mnemonic == STOREV); + CHECK(i->mnemonic == STORE); delete i; } |