Disassembling A Library Member - Analog Devices VisualDSP++ 3.5 Manual

Linker and utilities manual for 16-bit processors
Hide thumbs Also See for VisualDSP++ 3.5:
Table of Contents

Advertisement

Disassembling a Library Member

The
and
elfar
are combined. One application of these utilities is for disassembling a
library member and converting it to source code. Use this technique when
the source of a particularly useful routine is missing and is available only
as a library routine.
For information about
The following procedure lists the objects in a library, extracts an object,
and converts the object to a listing file. The first archiver command line
lists the objects in the library and writes the output to a text file.
elfar -p libc.dlb > libc.txt
This command assumes the current directory is:
C:\Program Files\Analog Devices\VisualDSP\21xxx\lib
Open the text file, scroll through it, and locate the object file you need.
Then, use the following archiver command to extract the object from the
library.
elfar -e libc.dlb fir.doj
To convert the object file to an assembly listing file with labels, use the
following
elfdump
elfdump -ns * fir.doj > fir.asm
The output file is practically source code. Just remove the line numbers
and opcodes.
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
utilities are more effective when their capabilities
elfdump
, refer to
elfar
command line.
"Archiver" on page
Utilities
6-1.
B-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents