SLAU131V October 2004 – February 2020
The disassembler, dis430, 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:
dis430[options] input filename[.] [output filename] |
dis430 | 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: | |
--noaddr (-a) | disables the display of the branch destination address along with label names within instructions. | |
--bytes (-b) | displays data as bytes instead of words. | |
-c | dumps the object file information. | |
--nodata (-d) | disables display of data sections. | |
--help (-h) | shows the current help screen. | |
--data_as_text (-i) | disassembles .data sections as instructions. | |
-I
|
disassembles .text sections as data. | |
--quiet (-q) | (quiet mode) suppresses the banner and all progress information. | |
--realquiet (-qq) | (super quiet mode) suppresses all headers. | |
-r | uses raw register IDs (R10, R11, etc.). | |
-R | shows run-time address if different from load-time address. | |
-s | suppresses printing of opcode and section program counter in the listing. When you use this option along with –qq, the disassembly listing looks like the original assembly source file. | |
--notext (-t) | suppresses the display of text sections in the listing. | |
input filename[.ext] | This is the name of the input file. If the optional extension is not specified, the file is searched for in this order:
|
|
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. |