What do FLAGS register components mean in VS 2013?

12,225
| Overflow  | OV |
| Direction | UP |
| Interrupt | EI |
| Sign      | PL |
| Zero      | ZR |
| Auxiliary | AC |
| Parity    | PE |
| Carry     | CY |

MSDN reference

Share:
12,225
Bartek Banachewicz
Author by

Bartek Banachewicz

I am proficient in a quite a number of programming languages, but the ones I like the most are: Haskell - which is a compiled, functional, pure language with strict static typing. Lua - very small, fast and versatile interpreted dynamic language The ones that I don't use a lot, but like nevertheless, are Prolog, Brainfuck, Idris and Terra. If you don't know them, you just might find them interesting. I also spend a considerable amount of my time drawing stuff on the computer screen with code. I have a quite active GitHub account with a lot of Open Source contributions. I can be found at The Lounge, and according to it, I'm a terrible person. All opinions stated in my comments and answers are my own and are not connected to my employer's.

Updated on July 18, 2022

Comments

  • Bartek Banachewicz
    Bartek Banachewicz almost 2 years

    When debugging x86 assembly code in VS2013, I needed to check the contents of the FLAGS register. However, when I've enabled "Flags" in Register Window, I got:

    OV = 0 UP = 0 EI = 1 PL = 1 ZR = 0 AC = 1 PE = 0 CY = 1 
    

    Those don't correspond to typical ODITSZAPC flags of x86; can anyone explain to me what's going on? Are those just weird names for the same flags?

    I have a 64-bit Core i7; can it affect the displayed names?