diff options
author | bd <bdunahu@operationnull.com> | 2025-05-10 14:59:22 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-05-10 14:59:22 -0400 |
commit | b384a584f5feaa05b77d7979cce9dad500bd1e2e (patch) | |
tree | adc16491b2ebc8ddf0fc16e00aed2d53d9dc3d82 /src/id.cc | |
parent | 2aabad6ed432831d6686700118cd189cb157e5cc (diff) |
Fix new bug where s3 was not assigned with r type
Diffstat (limited to 'src/id.cc')
-rw-r--r-- | src/id.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -158,8 +158,8 @@ void ID::decode_R_type(signed int &s1) break; default: if (this->status == OK) { - this->write_guard<signed int>(s3); - this->curr_instr->operands.integer.slot_three = s3; + this->curr_instr->operands.integer.slot_three = + this->write_guard<signed int>(s3); } } } |