Is there a logic error in the virtual CPU flag setting routine?
Near the end there's this code:
...
cmp edx, eax
mov edx, dword ptr [eflags]
jz 0x4012cf
and edx, 0x1
jl 0x4012c4
...
But AND not only does not set SF it also clears whatever flags were set as a result of the CMP. Am I misunderstanding this?
|
==> |