### Change the Contents of Registers

Caution: Changing the contents of registers that affect program flow (for example, registers used to manipulate the stack) can destabilize the program you are debugging and may cause it to terminate abnormally.

You can change the contents of most registers in the Registers monitor as follows:

1. Either double-click on the current value of the register or move the cursor to that register and press Enter.
2. Type in a new value, and press Enter.

If updating of the register is allowed and your entry can be evaluated to a value the register supports, the register is updated.

Note: On Intel platforms, you cannot change the contents of the CS (code segment) register, and you cannot enter values into floating-point registers when they display "Not used" instead of a value.

For flags, you can only enter values within the range supported by the flag, or expressions that evaluate within such a range. Flags usually only have two valid values: 0 and 1.

Valid Entries for Registers
Supported C++ expressions