14.2.2. Setting registers with the Interactive Register Setting dialog box

To set register contents with the Interactive Register Setting dialog box:

  1. Select Registers from the View menu to display the Registers view. Figure 14.1 shows an example.

  2. Select Debug → Memory/Register Operations → Set Register... from the Code window main menu to display the Interactive Register Setting dialog box. Figure 14.3 shows an example.

    Figure 14.3. Interactive Register Setting dialog box

    Interactive Register Setting dialog box

  3. Enter the register to change in the Register field. If required, use the drop-down arrow to select a previously used register from the stored list.

    For example, enter @R4.

  4. Enter the value for the register in the Enter New Value field. If required, use the drop-down arrow to select a previously used value from the stored list.

    For example, enter 0x4000.

  5. Click Set to change the value of the specified register. If required, use the drop-down arrow to select a previously used value from the stored list.

    The Log at the bottom of the dialog box is updated to show your change, shown in Figure 14.4.

    Figure 14.4. Register set in Interactive Register Setting dialog box

    Register set in Interactive Register Setting dialog box

  6. Click Close to close the Interactive Register Setting dialog box.

Changing the value of some registers affects other parts of RealView Debugger:

See also

Copyright © 2002-2009 ARM Limited. All rights reserved.ARM DUI 0153K
Non-Confidential