mirror of
https://github.com/open-simh/simh.git
synced 2026-04-28 04:55:13 +00:00
SDS, Sigma: Make sure breakpoint's don't advance sim_time
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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? */
|
||||||
|
|||||||
Reference in New Issue
Block a user