Ok So im trying to understand flags....
when i set $eax = 0x80000000 and set $ecx = 0x90000000
I want to compare and jump for flags
cmp EAX, ECX
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
-2147483648 - 1879048192