From b384a584f5feaa05b77d7979cce9dad500bd1e2e Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 10 May 2025 14:59:22 -0400 Subject: Fix new bug where s3 was not assigned with r type --- src/id.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/id.cc b/src/id.cc index e0e16c4..ebf6db6 100644 --- a/src/id.cc +++ b/src/id.cc @@ -158,8 +158,8 @@ void ID::decode_R_type(signed int &s1) break; default: if (this->status == OK) { - this->write_guard(s3); - this->curr_instr->operands.integer.slot_three = s3; + this->curr_instr->operands.integer.slot_three = + this->write_guard(s3); } } } -- cgit v1.2.3