How to work on the register, Change format of register display – Freescale Semiconductor Microcontrollers User Manual

Page 209

Advertising
background image

How To...

How to Work on the Register

209

Microcontrollers Debugger Manual

Inspect Memory Starting at a Variable
Location Address

The Debugger provides two ways to dump the memory starting at a variable allocation
address.

• Using Drag and Drop

Drag a variable name from the Data Component to Memory component.

• Holding down the left mouse button and pressing the A key

Point to a variable name in a Data Component, hold the left mouse button down and
press the A key.

The memory component scrolls until it reaches the address where the selected
variable is allocated. The memory range corresponding to the selected variable is
highlighted in the memory component.

Load an Address Register with the
Address of a Variable

The Debugger allows you to load a register with the address where a variable is allocated.
Drag a variable name from the Data Component to Register component. The destination
register is updated with the start address of the selected variable.

How to Work on the Register

This section describes how to work with the Register component.

Change Format of Register Display

The Debugger allows you to display the register content in hexadecimal or binary format.

1. Right-click in the Register component. The Register context menu is displayed on the

screen.

2. Choose Options from the context menu. The list menu containing the possible formats

is displayed.

3. Select either binary or hexadecimal format.

The format selected is valid for the Register component. The contents from all registers
are displayed according to the selected format.

Advertising