2.2 Command-line Options

Some of the command-line options used with MPASM have equivalents in the PIC Assembler.

All PIC Assembler options begin with either a dash, -, or double dash, --. The options are case sensitive.

The MPASM command-line options and their PIC Assembler equivalents are shown in the table below.

Table 2-2. Equivalent Command-line Options
MPASM OptionPurposePIC Assembler Equivalent
? or hDisplay help--help
ahex-formatSpecify hex file output and formatUse -g to specify the type of hex file; code is always relocatable
cControl case sensitivityNo equivalent
dlabel[=value]Define textual substitutionThe preprocessor feature controlled by -Dmacro=text is similar
eSpecify error fileNo equivalent
l or l+Enable listing file-Wa,-a
l pathSpecify listing file pathNo equivalent
mEnable macro expansionNo equivalent
oEnable object file and specify pathNo equivalent
pdeviceSpecify target device-mcpu=device
qQuiet modeNo equivalent
rradixSpecify default radixNo equivalent
sShow progress windowNo equivalent
tSet tab sizeNo equivalent
wvalueSpecify messages output-w, see also -mwarn.
xEnable cross reference file and specify pathNo equivalent
ySpecify PIC18 instruction set-misa=[std|xinst]