Registers

Frozen Content

The following content has been imported from Legacy Help systems and is in the process of being checked for accuracy.

Function

The Registers panel allows you to interrogate the content of registers within the core processor currently being debugged. You can also change the values of registers on-the-fly as you debug.

Content and Use

The actual content of the panel, in terms of the available registers, will depend on the particular processor type currently being debugged. The following is a list of the available debug-enabled processors:

  • TSK165A_D
  • TSK165B_D
  • TSK165C_D
  • TSK3000A
  • TSK51A_D
  • TSK52A_D
  • TSK52B_WD
  • TSK80A_D
  • PPC405A

For each register, the following data fields are available:

  • Register - the name of the register
  • Width - the size of the register (e.g. 8-bit, 16-bit, 32-bit)
  • Decimal - the value currently stored in the register, presented in decimal format (e.g. 30)
  • Hexadecimal - the value currently stored in the register, presented in hexadecimal format (e.g. 1E)
  • Binary - the value currently stored in the register, presented in binary format (e.g. 0001-1110)
  • Char - the value currently stored in the register, presented in character format (e.g. decimal 87 would be character W)

The Register, Width and Char fields are non-editable. The number format fields allow for changing of register values as you debug, as described in the following section.

Changing Register Values

Register values will update automatically in accordance with code execution. You can, however, manually change register values on-the-fly.

To change the value of a register as you debug, click on one of the associated data fields for the register and type the new value directly. The data field you choose (Decimal, Hexadecimal, Binary) will depend on the number system you prefer to work with. When finished, either click away from the field or press ENTER for the change to take effect. All other number format data fields for that register will update accordingly with the value entered.

Right-click Menu

The right-click pop-up menu for the panel provides the following commands:

  • Copy to Clipboard - copies the selected rows of data (including column headings) to the Windows clipboard, for use in other applications
  • Copy All to Clipboard - copies all rows of data (including column headings) to the Windows clipboard, for use in other applications
  • Columns sub-menu - provides commands for toggling the display of columns of data on or off in the panel. Data columns that can be toggled in their display are: Register, Width, Decimal, Hexadecimal, Binary and Char.

Notes

  • Standard CTRL + Click and SHIFT + Click functionality is supported for selection of multiple register entries in the panel.
  • You can not edit the values of multiple registers simultaneously. Editing is carried out on the focused data field for a register. The focused data field is distinguished by a dotted outline.
  • Use the arrow keys on the keyboard to quickly move through the list of registers and between the columns of data.

See Also

You are reporting an issue with the following selected text and/or image within the active document: