1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 23:37:13 +00:00

SWTP6800: Fix typo in the DAA instruction

This commit is contained in:
Bill Beech 2020-05-06 14:25:46 -07:00
parent 661c1059a6
commit 1513d6ee66

View File

@ -414,7 +414,7 @@ t_stat sim_instr (void)
}
DAR = (A >> 4) & 0x0F;
if ((DAR > 9) || get_flag(CF)) {
DAR =+ 6;
DAR += 6;
A = (A & 0x0F) | (DAR << 4) | 0x100;
}
COND_SET_FLAG_C(A);