You copied the Doc URL to your clipboard.

3.4.1. Register views

The Register view displays registers and their values and organizes them into multiple groups. A combo box enables switching between the groups that are predefined by the target model. See Figure 3.27.

Select register group

For each register, a buffered state of the register (previous value) is stored. To view the contents, either:

  • use the context menu in the register view and select Show Previous Values. The contents are displayed as shown in Figure 3.28:

    Register view showing current and previous contents

  • place the cursor over the respective register as shown in Figure 3.29. The buffered state is updated every time the model execution stops.

    Register view contents at cursor

Context menu for Register view

Right-click one of the registers in the Register view to display the context menu. The menu has the following options:

Copy

Copy the contents of the selected register.

Add to Watch

Add the selected register to the Watch view.

Insert Breakpoint

Insert a breakpoint on the selected register.

Enable Breakpoint

Enable the breakpoint at the selected register.

Breakpoint Properties

If a breakpoint is present on the selected register, selecting this option displays the Breakpoint properties dialog.

Edit Value

Edit the contents for the selected register.

Select and show memory at nnn

Display a dialog to select a memory space and update the Memory view to display the memory contents at the address specified by the register contents.

Show memory at nnn

Update the Memory view to display the memory contents at the address specified by the register contents.

Format

Choose the number base to use to display the register contents. The options are Default Format, Unsigned Decimal, Signed Decimal, Hexadecimal, Binary, Float, or ASCII.

Show Previous Value

Display the current value and the previous value for the selected register.

Select All

Select all of the registers in the Register view.

Was this page helpful? Yes No