dis - 2023.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

Disassemble instructions.

Syntax

dis <address> [num]

Disassemble <num> instructions at address specified by <address> The keyword "pc" can be used to disassemble instructions at the current PC. Default value for <num> is 1.

Returns

Disassembled instructions if successful. Error string, if the target instructions cannot be read.

Examples

dis

Disassemble an instruction at the current PC value.

dis pc 2

Disassemble two instructions at the current PC value.

dis 0x0 2

Disassemble two instructions at address 0x0.