This documentation is archived and is not being maintained.

Using the Registers Window

The Registers window displays register contents. If you keep the Registers window open as you step through your program, you can see register values change as your code executes. Values that have changed recently appear in red.

To display the Registers window

  • From the Debug menu, choose Windows and click Registers. (The debugger must be running or in break mode.)
    Note   Register information is not available for script or SQL applications.

To reduce clutter, the Registers window organizes registers into groups. You can display or hide groups as you see fit. For more information, see Displaying and Hiding Register Groups. The Registers window displays SSE, SSE2, and 3DNow! registers in the following way:

3DNow! Registers
The debugger splits each MMX register into two 32-bit floats of the form MMnm, where n is the MMX register number, and m is zero or one for each half. 3DNow! registers are available on the AMD (Athlon) K6 processor and its successors.
SSE Registers
The debugger splits each XMM register into four 32-bit floats of the form XMMnm, where n is the XMM register number and m is 0-3 to denote which part of the register is used. These registers are available on the Intel Pentium III processor and its successors.
SSE2 Registers
The debugger splits each XMM register into two halves, both as integer and floating point. The notation is XMM followed by the register number, then D (for double), then L (low half) or H (high half). SSE2 integer registers (I registers) do not appear in the Registers window. To view I registers, enter the register name in the Watch window. These registers are available on the Intel Pentium 4 processor and its successors.

You can edit the value of a register in the Registers window. If you choose to display the register flags group, you can edit register flags. For more information, see Editing a Register Value. For Intel x86 processors, you can set the following register flags:

Register Window Flags

Flag Set value  
Overflow O = 1  
Direction D = 1  
Interrupt I = 1  
Sign S = 1  
Zero Z = 1  
Auxiliary carry A = 1  
Parity P = 1  
Carry C = 1  

See Also

Registers Window | Debugging Basics: Registers Window | Debugging Tools for Inspecting Your Program