I I'm trying to create an application in real mode that uses the flags to store the results of calculations and other stuff. I'm trying to do this to take up less memory. So can someone please give me some example code or tell me how to do this. I hear it has something to do with eflags or something were they are stored. I already know how eflags is formatted but how do I get to it, and modify it?
Jump to Post
You don't want to screw around with eflags like that -- you are misusing that flag. What you want to do is declare a variable to hold all the bit-mapped flags then you can set and clear the individual bits to your heart's content.
All 6 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.