12
2.4.6 DI - Disassemble
DI
Usage:
DI <addr>
The DI command disassembles target code pointed to by addr. The value for addr may be an absolute
address specified as a hexadecimal value, or a symbol name.
Wherever possible, the disassembler will use information from the symbol table to produce a more
meaningful disassembly. This is especially useful for branch target addresses and subroutine calls.
The DI command attempts to track the address of the last disassembled opcode. If no address is provided
to the DI command, then the DI command uses the address of the last opcode that was disassembled.
Examples:
To disassemble code that starts at 0x00040000, the command is:
di
40000
To disassemble code of the C function main(), the command is:
di
_main