| |||
| Home > Altering the Target Execution Environment > Changing the stack pointer > Procedure | |||
To change the stack pointer:
Select Registers from the View menu to display the Registers pane. An example is shown in Figure 14.23.
Double-click on the SP register. The field containing the value changes to allow in-place editing, shown in Figure 14.24.
Change the value of the SP register to the required
value, for example, 0x01FFD900. Alternatively,
press Esc to cancel the change. The register value reverts back
to the value before you made any changes.
Press Enter to confirm the change. If the Stack pane is visible, then the Stack pane is updated and starts at the new SP register address, shown in Figure 14.25.