basically decide if we need to save and restore flags before xoring prior two and after the instruction executes.