Working with registers

Use the GPR pane and FPR pane to work with the general-purpose and system-control registers at the byte-level. Use the Status pane to work with the system-control registers at the bit or multiple-bit level.

Use the panes to perform the following actions:

Note: You can work with the PASE Debugger in a variety of ways: by right-clicking or double-clicking appropriate objects, by using a menu or a keyboard shortcut, or by using the tool bar (if the menu command has a tool icon). The following procedures specify only one way to select a command.

Examining register contents

Examine how the contents of the registers change by noting which field are yellow. Yellow fields designate register values that have changed since the last step.

Changing register contents

To change the contents of a register, complete the following steps:

  1. Position the cursor in a register field before the hexadecimal or binary value that you want to change.
  2. For hexadecimal values: type the values that you want to use. For binary values: click the register to toggle the bit on and off.
  3. To accept the value, press Enter or click outside of the field that contains the value you just changed.
  4. The new values overwrite the existing values.

Displaying register contents in assembly code

To display the assembly code instructions associated with the contents of a register, right-click the register and select Go To Disassembly. PASE Debugger displays the instructions in the assembly code area of the Source window.

Suspending and resuming updates

To suspend updates to the pane, right-click in the pane and select Suspend Updates. To begin updating again, right-click in the pane and select Resume Updates.

Displaying memory associated with a register

To display the memory that is associated with a register, right-click the register and select Go to Memory or New Memory Window.