From 78573df6b28bf1419aeb98a8951bde30a0030fba Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 2 Feb 2005 20:43:01 +0000 Subject: SBCS fix (Paul Brook) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1264 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-arm/op.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-arm') diff --git a/target-arm/op.c b/target-arm/op.c index dc1c734..813c285 100644 --- a/target-arm/op.c +++ b/target-arm/op.c @@ -190,10 +190,10 @@ void OPPROTO op_ ## sbc ## l_T0_T1_cc(void) \ src1 = T0; \ if (!env->CF) { \ T0 = T0 - T1 - 1; \ - env->CF = src1 >= T1; \ + env->CF = src1 > T1; \ } else { \ T0 = T0 - T1; \ - env->CF = src1 > T1; \ + env->CF = src1 >= T1; \ } \ env->VF = (src1 ^ T1) & (src1 ^ T0); \ env->NZF = T0; \ -- cgit v1.1