Top "Eflags" questions

EFLAGS refers to the flags register of the x86/x64 architecture.

Assembly - JG/JNLE/JL/JNGE after CMP

I don't understand the JG/JNLE/JL/JNGE instructions, which come after CMP. for example, If I have: CMP al,…

assembly x86 eflags
Carry Flag, Auxiliary Flag and Overflow Flag in Assembly

I Cannot seem to tell the difference between the Carry Flag, Auxiliary Flag and Overflow Flag in Assembly. I'm currently …

assembly x86 overflow eflags
How to read and write x86 flags registers directly?

From what I've read, seems like there are 9 different flags. Is it possible to read/change them directly? I know …

assembly x86 eflags
Assembly - Carry flag VS overflow flag

I have the next code: mov al, -5 add al, 132 add al, 1 As I check it, the overflow flag and …

assembly x86 carryflag eflags signed-overflow
What is the purpose of the Parity Flag on a CPU?

Some CPUs (notably x86 CPUs) feature a parity flag on their status register. This flag indicates whether the number of …

assembly cpu-architecture parity eflags
How can I set or clear overflow flag in x86 assembly?

I want to write a simple code (or algorithm) to set/clear overflow flag. For setting OF, I know that …

assembly x86 eflags
Direction Flag in x86

I am unable to understand how does the direction flag work in x86. The text in my lectures say that …

assembly x86 microprocessors eflags