From 1513d6ee66689bab9d7ffcd9f1e8838e72bd0a83 Mon Sep 17 00:00:00 2001 From: Bill Beech Date: Wed, 6 May 2020 14:25:46 -0700 Subject: [PATCH] SWTP6800: Fix typo in the DAA instruction --- swtp6800/common/m6800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swtp6800/common/m6800.c b/swtp6800/common/m6800.c index 7b8772d4..8c76e6eb 100644 --- a/swtp6800/common/m6800.c +++ b/swtp6800/common/m6800.c @@ -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);