mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 11:23:43 +08:00
SBCS fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1264 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9f0777ed88
commit
78573df6b2
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user