You copied the Doc URL to your clipboard.

Disassembling an ELF-formatted file

Use the --disassemble option to display a disassembled version of the image to stdout. If you use this option with the --output destination option, you can reassemble the output file with armasm.

You can use this option to disassemble either an ELF image or an ELF object file.

Note

The output is not the same as that from --emit=code and --text -c.

Example

To disassemble the ELF file infile.axf for the 8-A.32 target and create a source file outfile.asm, enter:

fromelf --cpu=8-A.32 --disassemble --output=outfile.asm infile.axf
Was this page helpful? Yes No