|Home > Using Model Debugger > Debug views for source code and disassembly > 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.
The Disassembly view title bar has the following controls:
Enter a start address to display the code from.
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®.
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.
Right-click one in the Disassembly view to display the context menu. The menu has the following options:
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 a breakpoint on the selected location in all program memory spaces.
Enable/Disable the breakpoint at the selected location.
If a breakpoint is present on the selected location, selecting this option displays the Breakpoint properties dialog box.
Select a memory space and update the Memory view to display the memory contents at the address specified corresponding to the instruction location.
Step the code until the selected location is reached.