Part I: CPU Flags for Conditional Processing
Notes:
- CF: carry flag is set when the result of an unsigned arithmetic operation is too large to fit into the destination.
- SF: sign flag is cleared (0) when the result of an operation is a negative value, and is set (1) if the result is positive. Zero is assumed to be positive
- ZF: zero flag is set when the result of an operation is zero.
- OF: Overflow flag indicates a carry into and out of the high-order sign-bit following a signed arithmetic operation - a value is generated that is outside the signed range.
|