Search found 2 matches

by malis2007
Thu Aug 17, 2017 3:05 pm
Forum: General Gamehacking
Topic: need help understanding the carry flag..
Replies: 3
Views: 205

Re: need help understanding the carry flag..

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...
by malis2007
Fri Aug 11, 2017 5:44 pm
Forum: General Gamehacking
Topic: need help understanding the carry flag..
Replies: 3
Views: 205

need help understanding the carry flag..

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=...