What do the FLAGS registration components in VS 2013 mean?

When debugging x86 assembler code in VS2013, I needed to check the contents of the FLAGS register. However, when I turned on the "Flags" in the registration window, I received:

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

Those do not match typical ODITSZAPC x86 flags; can someone explain to me what is happening? Are these just weird names for the same flags?

I have a 64-bit Core i7; can this affect the display names?

+8
assembly x86 visual-studio visual-studio-2013
source share
2 answers
 | Overflow | OV | | Direction | UP | | Interrupt | EI | | Sign | PL | | Zero | ZR | | Auxiliary | AC | | Parity | PE | | Carry | CY | 

MSDN Link

+14
source share

Yes, of course, they are the same flags, what else?

But they are really misleading. When UP = 1, it is actually the opposite direction back (STD), also when PL = 1, it is actually a sign / negative. Why the designer VS tried to break the ASM thing that hasn't broken for ages was beyond my comprehension.

In the same way, in GNU GDB they called the instruction pointer (IP) as $ pc, DWORD / DD as the word (w), WORD / DW as the half-word (h) and QUADWORD / DQ as (g) from GIANT ??

C ++ Programmers are really strange, they loved to break the convention for the sake of this.

0
source share

All Articles