diff options
Diffstat (limited to 'sim/h8300/p3.c')
-rw-r--r-- | sim/h8300/p3.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/h8300/p3.c b/sim/h8300/p3.c index 0d8c259..921f191 100644 --- a/sim/h8300/p3.c +++ b/sim/h8300/p3.c @@ -69,3 +69,10 @@ ni++; SAVE_INTERPRETER_STATE(); } + + +sim_info() +{ + int cycles = saved_state.reg[CYCLES]; + printf("cycles (v approximate) %10d\n", cycles); +} |