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.
MPASM Option | Purpose | PIC Assembler Equivalent |
---|---|---|
? or h | Display help | --help |
ahex-format | Specify hex file output and format | Use -g to specify the type of hex file; code is
always relocatable |
c | Control case sensitivity | No equivalent |
dlabel[=value] | Define textual substitution | The preprocessor feature controlled by
-Dmacro=text is similar |
e | Specify error file | No equivalent |
l or l+ | Enable listing file | -Wa,-a |
l path | Specify listing file path | No equivalent |
m | Enable macro expansion | No equivalent |
o | Enable object file and specify path | No equivalent |
pdevice | Specify target device | -mcpu=device |
q | Quiet mode | No equivalent |
rradix | Specify default radix | No equivalent |
s | Show progress window | No equivalent |
t | Set tab size | No equivalent |
wvalue | Specify messages output | -w , see also
-mwarn . |
x | Enable cross reference file and specify path | No equivalent |
y | Specify PIC18 instruction set | -misa=[std|xinst] |