5.10.12. Changing register contents

To change the contents of registers:

  1. Click on the Core tab in the Register pane.

  2. Right-click in the Mode field value of the Current Program Status Register (CPSR) register (SVC) to display the Register context menu.

  3. Select Set Enumeration.... This opens a selection box where you can specify the context-sensitive value to modify the selected register entry.

  4. 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.

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0181G
Non-Confidential