gpsim --version (return code: 0)
gpsim-0.30.0 # (Aug 15 2017)
gpsim --help (return code: 1)
Usage: gpsim [OPTION...]
-i, --cli command line mode only
-c, --command=STRING startup command file (-c optional)
-D, --define=STRING define symbol with value that is added
to the gpsim symbol table. Define any
number of symbols.
-E, --echo Echo lines from a command file to the
console.
-h, --help display this help and exit
-d, --icd=STRING use ICD (e.g. -d /dev/ttyS0).
-I, --include=STRING startup command file - does not change
directories
-p, --processor=<processor name> processor (e.g. -pp16c84 for the 'c84)
-S, --source=STRING 'enable' or 'disable' the loading of
source code. Default is 'enable'.
Useful for running faster regression
tests.
-L, --sourcepath=STRING colon separated list of directories to
search.
-s, --symbol=STRING .cod symbol file (-s optional)
-v, --version gpsim version
Help options:
-?, --help Show this help message
--usage Display brief usage message
Examples:
gpsim myprog.cod <-- loads a symbol file
gpsim -p p16f877 myprog.hex <-- select processor and load hex
gpsim myscript.stc <-- loads a script