I found out if I add two numbers in assembly and their sum is 0, CF is set equal to one. In other cases not. I don't understand why. Any ideas please? Example:
__asm {
mov eax, 0
mov ebx, 5
mov edx, -5
add ebx, edx
adc eax, 0
}
result 1