7.3.1. Selection behavior

Selecting code in either the source or disassembly panels synchronizes both panels and highlights related code. This feature ignores coding comments.

Double-clicking an instruction in the disassembly view selects all of the instructions that relate to a single line of source code, and double-clicking on a function label in the disassembly view selects all of the instructions that make up that function. Both are ideal ways to select a series of related instructions.

To select multiple rows, hold down the mouse button and drag it across a range of rows. Selection behavior available in other applications is also present here. Hold down the shift key and select the first and last row of the series to select the entire sequence of rows. Hold down the control key if you would like to select additional rows without selecting all of the rows in between.

If selected source code lines or disassembly instructions contain too many rows to fit in the bounds of the ARM Workbench editor, small selection indicators appears on the right hand side of the code view. If there are more selected rows than can fit in the view, the indicators show you how many more are present off screen.

Figure 7.2. A Selection Indicator

A Selection Indicator

Scroll up or down to see all of the selected rows.

Copyright © 2007, 2008 ARM Limited. All rights reserved.ARM DUI 0414C
Non-Confidential