## Changing Register Values

You can change register values in the Registers view during program execution in order to examine program behavior.

NOTE Changing a register value can cause unpredictable behavior in the running program.

#### Changing a Register Value

1. To edit a register value:
   1. Double-click the value in the Details pane and enter the new value
   2. Right-click and select the Assign Value menu option in the context menu

   > OR

   1. Right-click the value in the Registers view and select Change Value

      Figure 1 - Right-click register value to change

      The Set Value window appears (Figure 2).

      Figure 2 - Set Value window

   2. Enter a new register value
   3. Press OK

The new value appears in the Registers view.

##### Other references

- Registers
- Opening Register View
- Viewing Register Values
- Registers view