A.1.2. 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.

Note

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

NameProperties
Symbols

When instructions reference direct memory locations, either relative to the PC or as absolute references, RealView 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, RealView 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 Src tab in the File Editor pane.

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.

You can also change the format dynamically using the DISASSEMBLE command, that is DISASSEMBLE /D, for default format, or DISASSEMBLE /A, for alternate formatWhen debugging ARM architecture-based processors, use this to force the disassembler to display 16-bit values, as opposed to showing the appropriate format for the given processor context, that is mixed 16-bit and 32-bit values.

Some DSPs use this to differentiate mnemonic and algebraic format.

Instr_value

In general, disassemblers show instructions as values and as opcodes or operands. Use this to suppress the value display where possible.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential