From af6665be053d6bb169b5297f773271ba68aae113 Mon Sep 17 00:00:00 2001 From: Bill Beech Date: Tue, 15 Mar 2022 15:44:13 -0700 Subject: [PATCH] SWTP: Fix Coverity found missing argument in M6800 --- swtp6800/common/m6800.c | 1 + 1 file changed, 1 insertion(+) diff --git a/swtp6800/common/m6800.c b/swtp6800/common/m6800.c index aabd8562..daff591c 100644 --- a/swtp6800/common/m6800.c +++ b/swtp6800/common/m6800.c @@ -1464,6 +1464,7 @@ t_stat sim_instr (void) break; case 0xD2: /* SBC B dir */ lo = get_dir_val() + get_flag(CF); + op1 = B; B = B - lo; COND_SET_FLAG_C(B); B &= 0xFF;