1
0
mirror of https://github.com/simh/simh.git synced 2026-01-26 04:01:38 +00:00

GRI, PDP11, PDP8, VAX: Misc formatting and typo cleanups

This commit is contained in:
Bob Supnik
2018-03-09 14:03:13 -08:00
committed by Mark Pizzolato
parent 0df520de7f
commit bf82092493
5 changed files with 7 additions and 6 deletions

View File

@@ -518,7 +518,8 @@ while (reason == 0) { /* loop until halted */
MA = IDX_ADD (MA); /* index? */
if (op & TRP_DEF) { /* defer? */
t = (M[MA] + 1) & DMASK; /* autoinc */
if (MEM_ADDR_OK (MA)) M[MA] = t;
if (MEM_ADDR_OK (MA))
M[MA] = t;
MA = IDX_ADD (t); /* index? */
}
TRP = SC; /* save SC */