1 #ifndef AVR_TRACEANALYZER_H
2 #define AVR_TRACEANALYZER_H
12 * @brief Tracing Analyzer
14 * Provides a trace log with some of the Core state changes.
15 * This allows the user to review all instructions executed
16 * by the program and their effect on the registers at a later time.
18 class TraceAnalyzer
: public Analyzer
{
20 TraceAnalyzer(Core
*core
, const char *filname
);
24 virtual void reset(unsigned int type
);
25 virtual void trace(dword address
);
26 virtual void step(lword ticks
);
29 virtual void readRegister(unsigned int r
, byte val
);
30 virtual void writeRegister(unsigned int r
, byte val
);
31 virtual void interrupt(unsigned int vector
, unsigned int addr
);
39 #endif /*AVR_TRACEANALYZER_H*/