Core tab – Register pane

The core tab displays the core registers for the connected processor

image\hand.gif Move your mouse pointer across the picture below, and where you see a hand, click to display a definition of the area.

image\000006A2_shg.gif

image\lamp.gifWhen the value of a register changes, it is displayed in blue.

All processor state other than the general-purpose register contents is held in status registers. The current operator processor status is in the Current Program Status Register (CPSR). It contains:

Each exception mode also has a saved program status register (SPSR) that is used to preserve the value of the CPSR when the associated exception occurs. The CPSR and the SPSR are accessed using special instructions.

Special registers (for example, the Current Program Status Register (CPSR)) are shown using enumerations and symbols that make them easier to understand. You can change the style of the display by using the options in the View menu.

Click image\panemenu.gif at the top of the pane to display a Pane menu. The options in this menu affect all the registers in the pane.

Click image\winmenu.gif at the top of the pane to display a Pane Content menu.

You can use in-place editing to change values in the Register pane.

If you right-click on any of the registers, or their names, you see a context menu that you can use to act on individual registers. Click the following links to see pop-up descriptions:

Update

Format…

Properties

Set to 0

Increment

Decrement

Copy Value

Paste Value

Set from Favorites…

View Memory at Value

There is also a list of variables displayed that you have used previously.

image\lamp.gifWhen you right-click in the enumerations area of the CPSR, the menu option Set from Favorites… is   replaced with Set Enumeration…

If you right-click in the white space to the right of the register display, or on the heading bar of the CPSR, you see a context menu with the following options:

Update

Show Values in Decimal

Show Values in Hex

Show values in Hex with Leading Zeros

image\lamp.gifYou can also set register values interactively using Memory/Register Operations image\optarrow.gif Set Register... from the Code window Debug menu.