void
SIM_instruction_set_stop_phase(conf_object_t *NOTNULL cpu,
instruction_phase_t phase,
int on);
typedef enum instruction_phase {
Sim_Phase_Initiated,
Sim_Phase_Fetched,
Sim_Phase_Decoded,
Sim_Phase_Executed,
Sim_Phase_Retired,
Sim_Phase_Committed,
Sim_Phases
} instruction_phase_t;
Thus SIM_instruction_set_stop_phase(cpu, Sim_Phase_Executed, 1) will cause every call to SIM_instruction_proceed(cpu, ii) to advance instruction ii to the point where its semantics has been executed.