summaryrefslogtreecommitdiff
path: root/src/ex.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-05-10 17:02:27 -0400
committerbd <bdunahu@operationnull.com>2025-05-10 17:02:27 -0400
commitf0f773a1f2acc3030c89fc5aa6335f667987aa2a (patch)
treee3f27a3e6d78a9f15ce6fb1b6f3b40202aa5ab3e /src/ex.cc
parent5beea0c476101ec7b122f3b2181d92ce096492fb (diff)
Fix issue where decode would overwrite raw bits while in use
Diffstat (limited to 'src/ex.cc')
-rw-r--r--src/ex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex.cc b/src/ex.cc
index f0ca5b5..73ed615 100644
--- a/src/ex.cc
+++ b/src/ex.cc
@@ -50,7 +50,7 @@ void EX::advance_helper()
v_base_addr =
this->curr_instr->operands.load_store_vector.base_addr;
}
- v_len = this->curr_instr->slot_A;
+ v_len = this->curr_instr->slot_B;
if (v_len == 0) {
// clear destination vector reg
v1.fill(0);