Invoking the Disassembler

The disassembler, dis6x, examines the output of the assembler or linker. This utility accepts an object file or executable file as input and writes the disassembled object code to standard output or a specified file.

To invoke the disassembler, enter the following:

dis6x[options] input filename[.] [output filename]
dis6x is the command that invokes the disassembler.
options identifies the name utility options you want to use. Options are not case sensitive and can appear anywhere on the command line following the invocation. Precede each option with a hyphen (-). The name utility options are as follows:
-a disables the printing of branch destination addresses along with labels.
-b displays data as bytes instead of words.
-c dumps the object file information.
-d disables display of data sections.
-h shows the current help screen.
-i disassembles .data sections as instructions.
-l disassembles data sections as text.
-n suppresses FP header information for C64x+ Compact FPs.
-o## disassembles single word ## or 0x## then exits.
-q (quiet mode) suppresses the banner and all progress information.
-qq (super quiet mode) suppresses all headers.
-s suppresses printing of address and data words.
-t suppresses the display of text sections in the listing.
-v displays family of the target.
input filename[.ext] is the name of the input file. If the optional extension is not specified, the file is searched for in this order:

  1. infile
  2. infile.out, an executable file
  3. infile.obj, an object file

output filename is the name of the optional output file to which the disassembly will be written. If an output filename is not specified, the disassembly is written to standard output.