diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-08-15 16:33:56 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-08-15 16:33:56 +0000 |
commit | bc3fc8dac089f5fa06ea78d9c433a3567efd240a (patch) | |
tree | 916cfee2b251392cd2bb93c98e77fe7a1e892c3c /target-i386/op.c | |
parent | 1f3358c87d50a6f10aea4d22a38fbe421f5e3873 (diff) |
16/32 stack operations fix on x86_64 (aka win2000 startup bug)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1540 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/op.c')
-rw-r--r-- | target-i386/op.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/op.c b/target-i386/op.c index 142b662635..6370045794 100644 --- a/target-i386/op.c +++ b/target-i386/op.c @@ -865,7 +865,7 @@ void OPPROTO op_decq_ECX(void) void op_addl_A0_SS(void) { - A0 += (long)env->segs[R_SS].base; + A0 = (uint32_t)(A0 + env->segs[R_SS].base); } void op_subl_A0_2(void) |