From: <ssh...@us...> - 2011-06-28 18:53:27
|
Revision: 10438 http://bochs.svn.sourceforge.net/bochs/?rev=10438&view=rev Author: sshwarts Date: 2011-06-28 18:53:20 +0000 (Tue, 28 Jun 2011) Log Message: ----------- bugfix Modified Paths: -------------- trunk/bochs/cpu/bit16.cc trunk/bochs/cpu/bit32.cc trunk/bochs/cpu/bit64.cc Modified: trunk/bochs/cpu/bit16.cc =================================================================== --- trunk/bochs/cpu/bit16.cc 2011-06-28 16:29:11 UTC (rev 10437) +++ trunk/bochs/cpu/bit16.cc 2011-06-28 18:53:20 UTC (rev 10438) @@ -62,8 +62,8 @@ op2_16 <<= 1; } - // will clear ZF because op1_16 can't be zero SET_FLAGS_OSZAPC_LOGIC_16(op1_16); + clear_ZF(); /* now write result back to destination */ BX_WRITE_16BIT_REG(i->nnn(), op1_16); Modified: trunk/bochs/cpu/bit32.cc =================================================================== --- trunk/bochs/cpu/bit32.cc 2011-06-28 16:29:11 UTC (rev 10437) +++ trunk/bochs/cpu/bit32.cc 2011-06-28 18:53:20 UTC (rev 10438) @@ -62,8 +62,8 @@ op2_32 <<= 1; } - // will clear ZF because op1_32 can't be zero SET_FLAGS_OSZAPC_LOGIC_32(op1_32); + clear_ZF(); /* now write result back to destination */ BX_WRITE_32BIT_REGZ(i->nnn(), op1_32); Modified: trunk/bochs/cpu/bit64.cc =================================================================== --- trunk/bochs/cpu/bit64.cc 2011-06-28 16:29:11 UTC (rev 10437) +++ trunk/bochs/cpu/bit64.cc 2011-06-28 18:53:20 UTC (rev 10438) @@ -62,8 +62,8 @@ op2_64 <<= 1; } - // will clear ZF because op1_16 can't be zero SET_FLAGS_OSZAPC_LOGIC_64(op1_64); + clear_ZF(); /* now write result back to destination */ BX_WRITE_64BIT_REG(i->nnn(), op1_64); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |