Show CPU Registers in VS2008 watch window
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 开发者_Python百科 41575528 CPU Register
Thanks !
Pseudovariables
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
精彩评论