According to the x86 official documentation from Intel , the CF is set if an arithmetic operation generates a carry of the most significant bit. It also indicates an overflow condition for unsigned integers. You'll notice that the AF flag was set on your 2nd permutation of the code. That's the Adju...

Hello there :) i have a problem understanding the carry flag :/ i added these lines to the SUB instruction in the CE's step 2 TUT pushad pushfd mov eax,2 add eax,1 popfd popad after the add instruction, why is the carry flag being set? (CF=1) http://i.imgur.com/hXK4C7u.png and why is it cleared (CF=...