summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/stage.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/stage.h b/inc/stage.h
index 4e0c252..a5d7fe6 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -136,6 +136,8 @@ class Stage
if (v < 0 || v >= GPR_NUM) {
throw std::out_of_range("Invalid GPR index");
}
+ cout << "dereference_register: " << v << endl;
+ cout << "gprs[v]: " << gprs[v] << endl;
return gprs[v];
}
else if constexpr (std::is_same_v<T, std::array<signed int, V_R_LIMIT>>) {
@@ -188,4 +190,4 @@ class Stage
Response status;
};
-#endif /* STAGE_H_INCLUDED */
+#endif /* STAGE_H_INCLUDED */ \ No newline at end of file