1
0
mirror of https://github.com/simh/simh.git synced 2026-02-12 02:48:38 +00:00

sigma: Fix breakpoint state restore

This commit is contained in:
Ken Rector
2022-07-12 13:54:58 -07:00
committed by Mark Pizzolato
parent cfce67f702
commit d406b7771a
2 changed files with 4 additions and 0 deletions

View File

@@ -25,6 +25,8 @@
cpu central processor
12-Jul-22 RMS Fix incorrect decrement on breakpoint (Ken Rector)
The system state for the Sigma CPU is as follows:
RF[0:15][0:31]<0:31> register blocks
@@ -476,6 +478,7 @@ while (reason == 0) { /* loop until stop */
if (sim_brk_summ &&
sim_brk_test (PC, SWMASK ('E'))) { /* breakpoint? */
reason = STOP_IBKPT; /* stop simulation */
sim_interval++; /* undo decrement */
break;
}
if (PSW_QRX9 && (PC & PSW1_XA)) /* S9 real ext && ext? */