From what I\'ve read, seems like there are 9 different flags. Is it possible to read/change them directly? I know I can know for example if the zero flag is set after doing
You can use the pushf and popf instructions which will push the flags onto the stack, you can modify them, and then pop them back off.