diff options
author | Karel Kočí <cynerd@email.cz> | 2017-12-15 22:45:28 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-12-15 22:45:28 +0100 |
commit | e6ca4b4568e311b47239bfe83de15ed9e91c57b9 (patch) | |
tree | 3da2f72faf360058bae02c35b0c724233bd64d61 /qtmips_machine/registers.h | |
parent | bbea996112eb7ac81ec50d2af08f4bd681d0e50d (diff) | |
download | qtmips-e6ca4b4568e311b47239bfe83de15ed9e91c57b9.tar.gz qtmips-e6ca4b4568e311b47239bfe83de15ed9e91c57b9.tar.bz2 qtmips-e6ca4b4568e311b47239bfe83de15ed9e91c57b9.zip |
Implement few initial graphic elements
Diffstat (limited to 'qtmips_machine/registers.h')
-rw-r--r-- | qtmips_machine/registers.h | 3 |
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) |