dis(1) — Commands
NAME
dis − Disassemble an object file
SYNOPSIS
dis [−h] [−d] [−S] [−Idirectory] [−p procedure] [−s section-name] file...
OPTIONS
−hCauses the general register names to be printed, rather than the software register names.
−dGenerates output suitable for comparing with diff(1). The source address and binary instruction data are omitted.
−SCauses 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.