SPNU118Y September 1995 – February 2020
The disassembler, armdis, 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:
armdis[options] input filename[.] [output filename] |
armdis | 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: |
armdis | 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 printing of address along with label names within instructions. | |
-b | displays data as bytes instead of words. | |
-be8 | disassembles in BE-8 mode. | |
-c | dumps the object file information. | |
--copy_tables | (aliased as -y, or -Y) displays copy tables and the sections copied. The table information is dumped first, then each record followed by its load and run data. See Example 3. | |
-d | disables display of data sections. | |
-e | displays integer values in hexadecimal. | |
-h | shows the current help screen. | |
-i | disassembles data sections as text. | |
-I
|
disassembles text as data. | |
-n | dumps the symbol table. | |
-q | (quiet mode) suppresses the banner and all progress information. | |
(super quiet mode) suppresses all headers. | ||
-r | uses raw register IDs (R0, R1, etc.). | |
-R | shows run-time address if different from load-time address. | |
-s | suppresses printing of address and data words. | |
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:
|
|
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. |
When the example file in Example 1 is compiled, the assembler produces an object file, memcpy32.obj.