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 breakpoints from all worlds appear in the first column. The filled red
circles indicate a breakpoint in the world in the disassembly view, and unfilled red circles
indicate breakpoints in other worlds.
The green arrow indicates the actual position of the PC.
To display the whole disassembly in a help bubble, move the cursor over a
disassembly line. This function is useful if the complete disassembly string does not fit
horizontally into the view.
Figure 2-26 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
Select the disassembly mode or instruction sets for the opcodes, such as
ARM or Thumb.
Mapping source lines to the disassembly listing
To highlight in blue the corresponding addresses in the disassembly view, click
the left-most column in the source view. The highlighting indicates the disassembly
instructions to which the respective source statement maps.
NoteThis action is only possible for source lines with a bullet
Figure 2-27 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
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
- Show memory
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.