diff options
Diffstat (limited to 'qtmips_cli/tracer.h')
-rw-r--r-- | qtmips_cli/tracer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qtmips_cli/tracer.h b/qtmips_cli/tracer.h index d5a476b..245f418 100644 --- a/qtmips_cli/tracer.h +++ b/qtmips_cli/tracer.h @@ -11,12 +11,22 @@ public: // Trace registers void reg_pc(); + void reg_gp(std::uint8_t i); + void reg_lo(); + void reg_hi(); private slots: void regs_pc_update(std::uint32_t val); + void regs_gp_update(std::uint8_t i, std::uint32_t val); + void regs_hi_lo_update(bool hi, std::uint32_t val); private: machine::QtMipsMachine *machine; + + bool gp_regs[32]; + bool r_hi, r_lo; + + bool con_regs_pc, con_regs_gp, con_regs_hi_lo; }; #endif // TRACER_H |