dis(1) — Commands
NAME
dis − Disassemble an object file
SYNOPSIS
dis [−V] [−h] [−d] [−S] [−Idirectory] [−p procedure] [−s section-name] file...
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
dis: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
−VDisplays the version of the dis command.
−hPrints general register names instead of software register names.
−dGenerates output suitable for comparing with diff(1). The source address and binary instruction data are omitted.
−SCauses the source code to be listed. Otherwise, only instructions are listed.
−Idirectory
Specifies a path to be prefixed to the name of the source file when attempting to locate the source file for use with the −S option.
−p procedure
Disassembles only the specified procedure from the object file.
−s section-name
Specifies the section to be disassembled. If −s is not specified, the .text section is disassembled.
DESCRIPTION
The dis command disassembles object files into machine instructions. Please note that assembler code and machine code can differ on this machine. A file can be an object or an archive.
NOTES
The dis utility is marked LEGACY in XCU Issue 5.
SEE ALSO
Assembly Language Programmer’s Guide