1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 04:22:24 +00:00

Added build support for the new SSEM simulator and fixed minor compiler suggested cleanups

This commit is contained in:
Mark Pizzolato
2013-05-13 15:31:00 -07:00
parent 3e25784b99
commit 6c42556d30
6 changed files with 364 additions and 6 deletions

View File

@@ -142,7 +142,8 @@ do {
break;
}
#endif
if (reason = sim_process_event ()) break;
if ((reason = sim_process_event ()))
break;
}
if (sim_brk_summ && /* breakpoint? */
@@ -157,10 +158,10 @@ do {
/* Get present instruction */
C[1] = Read (*C);
Staticisor = C[1] & IMASK; /* get instruction */
Staticisor = C[1] & IMASK; /* get instruction */
sim_interval = sim_interval - 1;
if (reason = cpu_one_inst (*C, Staticisor)) { /* one instr; error? */
if ((reason = cpu_one_inst (*C, Staticisor))) { /* one instr; error? */
break;
}