SDS, Sigma: Make sure breakpoint's don't advance sim_time

This commit is contained in:
Mark Pizzolato 2016-08-30 15:51:45 -07:00
parent 8eb36720bc
commit c33abecf8b
2 changed files with 2 additions and 0 deletions

View file

@ -452,6 +452,7 @@ while (reason == 0) { /* loop until halted */
reason = STOP_UBKPT; /* stop simulation */ reason = STOP_UBKPT; /* stop simulation */
break; break;
} }
sim_interval++; /* don't count non-executed instruction */
break; break;
} }
} }

View file

@ -472,6 +472,7 @@ while (reason == 0) { /* loop until stop */
if (sim_brk_summ && if (sim_brk_summ &&
sim_brk_test (PC, SWMASK ('E'))) { /* breakpoint? */ sim_brk_test (PC, SWMASK ('E'))) { /* breakpoint? */
reason = STOP_IBKPT; /* stop simulation */ reason = STOP_IBKPT; /* stop simulation */
sim_interval++; /* don't count non-executed instruction */
break; break;
} }
if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */ if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */