Hello, I'm beginner with ASM so don't be harsh. I'm wondering how to display the content of PSW on standard output. I mean every single bit i.e :
CF 0
PF 1
AF 0
and so on. Actually I need to display flag registers but my first thought was to display psw because it has all I need. I would be very gratefull for every tip (ofcourse scratch of code would be quite better :) )
What is PSW ?
In the attachment a short example using the MASM32 SDK. For the flags, read up in AMD's or Intel's manuals.
Hi nerdek,
first things first: Welcome to the forum. Please check qWord's example and check the manuals. Flags are often used.
Gunther
Thank you very much ! Your example helped me a lot :) (PSW - program status word I thought it's common but I might be wrong)
we usually call it EFLAGS :P
Thanks nerdek.
Grab a couch and get comfortable here.