RFlags is like a veritable junk drawer of disjointed little bits of information. RFlags as a whole is a single 64-bit register buried inside he CPU. It's the 64-bit extension of the 32-bit EFlags register, which in turn is the 32-bit extension of the 16-bit Flags register. There's only 18 bits of the RFlags register are actually flags. The reset is reserved for later use in future generations of Intel CPUs. A flag is a single bit of information, whose meaning is independent from any other bits. A bit can be set to 1 or clered to 0 by the CPU as its needs require.
I | Shorthand | Name | Description |
---|---|---|---|
0 | CF | Carry Flag | Used in assigned arithmetic operations. If the result of arithmetic or shift operation carries out a bit from the operand. |
1 | - | Undefind | - |
2 | PF | Parity Flag | Indecates whether the number of set (1) bits in the low-order byte of a result is even(set), or odd(cleard). |