2.3.2 Disassembly view

The Disassembly view provides four columns for breakpoints and PC indicator, address, opcode, and disassembly string.
If your target model has TrustZone® support, disassembly breakpoint from all worlds are shown in the first column. The filled red circles indicate a breakpoint in the world currently shown in the disassembly view, and unfilled red circles indicate breakpoints in other worlds.
The green arrow indicates the actual position of the PC.
Move the cursor over a disassembly line to display the whole disassembly in a help bubble. This is particularly useful if the complete disassembly string does not fit horizontally into the view.
Figure 2-26 Disassembly view
Disassembly view

The Disassembly view title bar has the following controls:
Enter a start address to display the code from.
Memory space:
Select Secure (TrustZone) or Normal memory space, if applicable for the processor architecture.
Select the disassembly mode or instruction sets for the opcodes, such as ARM or Thumb.

Mapping source lines to the disassembly listing

Click on the left-most column in the source view to highlight in blue the corresponding addresses in the disassembly view. The highlighting indicates the disassembly instructions to which the respective source statement maps.


This action is only possible for source lines with a bullet point.
Figure 2-27 Matching source and disassembly
Matching source and disassembly

Context menu for Disassembly view

Right-click one in the Disassembly view to display the context menu. The menu has the following options:
Insert/Remove Breakpoint
Insert/Remove a breakpoint on the selected location only in the current shown memory space (TrustZone world). The same can be achieved with a double click in the first column.
Insert/Remove Breakpoint into /from all Program Memories
Insert /Remove a breakpoint on the selected location in all program memory spaces.
Enable/Disable Breakpoint
Enable/Disable the breakpoint at the selected location.
Breakpoint Properties
If a breakpoint is present on the selected location, selecting this option displays the Breakpoint properties dialog box.
Show memory
Display a dialog box to select a memory space and update the Memory view to display the memory contents at the address specified corresponding to the instruction location.
Run to here
Step the code until the selected location is reached.
Non-ConfidentialPDF file icon PDF versionARM DUI0314Q
Copyright © 2007-2014 ARM. All rights reserved.