gpdasm --version (return code: 0)
gpdasm-1.4.0 #1107 (May 18 2015)
gpdasm --help (return code: 0)
Usage: gpdasm [options] file
Options: [defaults in brackets after descriptions]
-c, --mnemonics Decode the special mnemonics.
-h, --help Show this usage message.
-i, --hex-info Show the informations of the input hex file.
-j, --mov-fsrn In the MOVIW or MOVWI instructions show as base
the FSRn register instead of the INDFn. [INDFn]
-k FILE, --label-list FILE A file which lists the names and addresses of
the labels in the disassembled program code.
(With the -n, -o and -s options.)
-l, --list-chips List the supported processors.
-m, --dump Memory dump of the input hex file.
-n, --show-names For some case of SFR, shows the name of
instead of the address. In addition shows
the labels also.
-o, --show-config Show the CONFIG and IDLOCS - or __idlocs -
directives.
-p PROC, --processor PROC Select the processor.
-s, --short Print short format output. (Creates a compilable
source. See also the -k, -n and -o options.)
-v, --version Print the gpdasm version information and exit.
-y, --extended Enable 18xx extended mode.
--strict Disassemble only opcodes generated by gpasm
in case of instructions with several opcodes.
For example:
gpdasm -nos -k program.ulist -p12f1822 program.hex > program.dis
Report bugs to:
<URL:http://gputils.sourceforge.net/>