aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/registers.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/registers.h')
-rw-r--r--qtmips_machine/registers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/registers.h b/qtmips_machine/registers.h
index dd7e393..4a693db 100644
--- a/qtmips_machine/registers.h
+++ b/qtmips_machine/registers.h
@@ -26,7 +26,8 @@ public:
signals:
void pc_update(std::uint32_t val);
- // TODO signals
+ void gp_update(std::uint8_t i, std::uint32_t val);
+ void hi_lo_update(bool hi, std::uint32_t val);
private:
std::uint32_t gp[31]; // general-purpose registers ($0 is intentionally skipped)