From 3210d5f272b26561ecfde2b08ee3238ecab6d62b Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 26 Jul 2020 23:18:15 -0700 Subject: [PATCH] ARM: Fix regression setting C flag in SBC (fixes #1827) --- src/arm/isa-thumb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/arm/isa-thumb.c b/src/arm/isa-thumb.c index bae46a3bb..bbbb48789 100644 --- a/src/arm/isa-thumb.c +++ b/src/arm/isa-thumb.c @@ -26,7 +26,6 @@ cpu->cpsr.v = ARM_V_SUBTRACTION(M, N, D); #define THUMB_SUBTRACTION_CARRY_S(M, N, D, C) \ - cpu->cpsr.flags = 0; \ cpu->cpsr.n = ARM_SIGN(D); \ cpu->cpsr.z = !(D); \ cpu->cpsr.c = ARM_BORROW_FROM_CARRY(M, N, D, C); \