| |||
Home > Getting Started with RealView Debugger > Basic debugging tasks with RealView Debugger > Changing register contents |
To change the contents of registers:
Click on the Core tab in the Register pane.
Right-click in the Mode field value of the Current
Program Status Register (CPSR) register (SVC
)
to display the Register context menu.
Select Set Enumeration.... This opens a selection box where you can specify the context-sensitive value to modify the selected register entry.
Select FIQ
from the list of available
options and click OK to change the Mode field
of the CPSR from SVC
(0013
)
to FIQ
(0011
). This updates
the contents of the ARM banked registers, shown in the pane. Similarly,
if you are in SVC
mode and you change the contents
of R13
in the SVC
bank (SP
),
the contents of R13
(SP
) change to
match.
In this example, the value can also be changed by selecting FIQ from the list of values from the context menu.
For full details on working in the Register pane, and the contents of tabs, see the chapter that describes working with debug views in RealView Debugger v1.8 User Guide.