Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / MALWARE REVERSE / ANALYSIS / STATIC / DISASSEMBLY / ASM

Flags

BitFlagNameDescription
0CFCarry FlagSet if unsigned overflow (carry/borrow out of MSB)
1ReservedAlways 1
2PFParity FlagSet if lowest byte has even number of set bits
3Reserved
4AFAuxiliary Carry FlagCarry from bit 3 → bit 4 (used in BCD arithmetic)
5Reserved
6ZFZero FlagSet if result == 0
7SFSign FlagSet if result is negative (MSB = 1)
8TFTrap FlagEnables single-step debugging
9IFInterrupt Enable FlagEnables/disables interrupts
10DFDirection FlagString ops direction (0 = forward, 1 = backward)
11OFOverflow FlagSet if signed overflow
12–13IOPLI/O Privilege LevelPrivilege level for I/O operations
14NTNested TaskControls task chaining (legacy)
15Reserved
16RFResume FlagSuppresses debug exceptions
17VMVirtual-8086 ModeEnables virtual 8086 mode
18ACAlignment CheckAlignment checking for memory accesses
19VIFVirtual Interrupt FlagVirtual version of IF
20VIPVirtual Interrupt PendingIndicates pending virtual interrupt
21IDID FlagAllows CPUID instruction
22–63ReservedNot used