Is there a way to access (copy to eax or something like that) the flag-register (overflow, carry, parity, EQ, etc.) directly without jumping in sub-routines accessing the stack?
In assembly? Without using the stack? Yes. Use this very obsolete command:
LAHF - load AH (second byte of EAX) with lower byte of flag.
What do you mean by 'without jumping in sub-routines accessing the stack?'
If you need the whole eflags register you can always:
PUSHD
POP EAX
"Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.