Ok So im trying to understand flags....
when i set $eax = 0x80000000 and set $ecx = 0x90000000
I want to compare and jump for flags
so
cmp EAX, ECX
j(o,s,z,c)
I do not understand how comparing these two numbers get a carry flag but not an overflow flag. I assume the compiler compiles them as signed numbers with EAX being the minimum number(-2147483648) and ECX being wrong? at -1879048192 would cmp be similar to sub when it does it operation for instance
-2147483648 - (-1879048192) or -2147483648 + 1879048192
OR
-2147483648 - 1879048192