Interactive x86 status flags explorer: simulate ADD, SUB, DEC operations and observe CF, ZF, SF, OF, AF, PF flag results

Current flags (RFLAGS)

CF
0
Carry / unsigned overflow
ZF
0
Result is zero
SF
0
Result MSB (sign)
OF
0
Signed overflow
AF
0
Aux carry (nibble)
PF
0
Even parity (low byte)

Quick scenarios

CF only OF only both CF+OF neither

Custom operation

Op +
Select a scenario or enter values above.