| |||
Home > Workspace Settings Reference > DEBUGGER > Disassembler |
Settings in this group control how the disassembly view is displayed in the Code window. This can be set for all processors or for specific processors only. The default settings apply to all processors.
When RealView Debugger starts, it uses the last-used settings unless overridden by these settings. These settings can be overridden dynamically by issuing CLI commands.
Saving changes takes immediate effect.
Some processor disassemblers do not support features configured with these settings, and the settings are ignored.
Table A.2 describes the settings.
Table A.2. Disassembler settings
Name | Properties |
---|---|
Symbols | When instructions reference direct memory locations, either relative to the PC or as absolute references, the debugger tries to show the symbol at that location. Use this to disable this property. |
Labels | When an instruction has a label associated with the address, the debugger shows it inline. Use this to disable this property. |
Source | By default, high-level source code is interleaved with disassembly code when available. Use this to disable this property. |
Asm_source | By default, assembler source code is interleaved with disassembly code when available. This is isolated from high-level language source code display because the assembly source is usually of less interest in this mode. Not all assemblers produce the information to enable assembly tagging. This setting does not affect what is shown in the any source file tabs in the Code window. |
Source_line_cnt | By default, interleaved display shows eight lines of source code for any instruction. If there are more source lines associated with the instruction, they are not shown. Use this to define how many lines are shown, or to specify that all are shown. |
Stack_syms | Some disassemblers identify frame or stack offset references in the operand fields. Use this to display the corresponding stack-based variable when possible. |
Register_syms | Not available with ARM® tools. Some disassemblers identify register usage in the operand fields. Use this to show the corresponding register-based variable when possible. |
Format | Some disassemblers include alternate format which is processor-specific. By default, RealView Debugger shows the format that is most appropriate for the given processor context. Use this to change the default format. Possible values are:
You can also change the format dynamically using the DISASSEMBLE command. |
Instr_value | In general, disassemblers show instructions as values and as opcodes or operands. Use this to suppress the value display where possible. |
the following in the RealView Debugger Command Line Reference Guide:
Alphabetical command reference for details of the DISASSEMBLE command.