Question

Is it possible to add CPU registers (RAX, EAX, flags, etc etc) with a specific syntax in a watch window so they are displayed like regular variables and printed in base-10 (or hex if Hexadecimal Display is on) ?

e.g:

if Registers window shows RAX = 00000000027A6468, adding %rax to watch would result in:

Name    Value       Type
%rax    41575528    CPU Register

Thanks !

Was it helpful?

Solution

OTHER TIPS

With VS2010 and higher there is a 'Registers' window (Debug->Windows->Registers). To see the flags and more registers (eg. MMX/SSE) just right click and enable them by the corresponding check mark since they are not shown by default. Some hints for the flags:

Overflow    OV        Direction   UP
Interrupt   EI        Sign        PL
Zero        ZR        Aux Carry   AC
Parity      PE        Carry       CY
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top