Re: Clever ways to hide a compare



"wolfgang kern" <nowhere@xxxxxxxxxxx> wrote in message
news:dhcji7$5lo$1@xxxxxxxxxxxxxxxxxxxxxxxx
>
> Keyser Soze wrote:
>
> | Examples to compare AX with DX on an x86:
> [...]
>
> AND, OR and XOR will always clear the Carry-flag on my x86 CPUs.
>
>
[...]

That is indeed true. I did note, in error, that XOR AX,DX does not change
carry. Sorry about that one.

There are a few opcodes that don't affect the carry flag even though they
look they should, especially the NEG opcode.



.