Commit bc3fc8dac089f5fa06ea78d9c433a3567efd240a

Authored by bellard
1 parent 1f3358c8

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
Showing 1 changed file with 1 additions and 1 deletions
target-i386/op.c
... ... @@ -865,7 +865,7 @@ void OPPROTO op_decq_ECX(void)
865 865  
866 866 void op_addl_A0_SS(void)
867 867 {
868   - A0 += (long)env->segs[R_SS].base;
  868 + A0 = (uint32_t)(A0 + env->segs[R_SS].base);
869 869 }
870 870  
871 871 void op_subl_A0_2(void)
... ...