Registers view

This view enables you to:

Figure 36. Registers view

Registers view

Right-click on the column headers to select the columns that you want displayed:

Name

The name of the register.

Use $register_name to reference a register. To refer to a register that has bitfields, such as a PSR, specify $register_name.bitfield_name. For example, to print the value of the M bitfield of $CPSR, enter the following command in the Commands view:

print $CPSR.M
$1 = USR
Value

The value of the register. A shaded background indicates the value has changed.

If you freeze the view, then you cannot change a register value.

Type

The type of the register value.

Count

The number of array or pointer elements.

Size

The size of the register in bits.

Location

The name of the register or the bitmap of the bitfield of a PSR. For example, bitfield M of the CSPR is displayed as $CPSR[0..4].

The Name, Value, and Size columns are displayed by default.

Show/hideToolbar and context menu options

The following options are available from the toolbar or context menu:

Refresh

Refresh the view.

Search

Search for a register.

Freeze Data

Toggle the freezing of the data in the view. This also disables or enables the Refresh option.

New Registers View

Create a new instance of the Registers view.

Copy

Copy the selected registers. To copy the bitfields of a PSR, you must first expand the PSR.

This is useful if you want to copy the selected registers to a text editor and compare the values when execution stops at another location.

Select All

Select all registers currently expanded in the view.

Show Memory Pointed to By register_name

Where enabled, displays the Memory view starting at the address held in the register.

Show Disassemby Pointed to By register_name

Where enabled, displays the Disassembly view starting at the address held in the register.

Send to Selection

Enables you to add register filters to an Expression view. Displays a sub menu that enables you to add to a specific Expressions view.

format list

A list of formats you can use for the register values. The default is Hexadecimal.

Editing context menu options

The following options are available on the context menu when you select a register value for editing:

Cut

Copy and delete the selected value.

Copy

Copy the selected value.

Paste

Paste a value that you have previously cut or copied into the selected register value.

Delete

Delete the selected value.

Undo

Undo the last change you made to the selected value.

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0446D
Non-ConfidentialID011411