3.5.3 -p,
--processor=PROC
Specify the target processor, e.g.:
xc-dsc-as -p33AK128MC106 file.s
The assembler defines macros based on the target processor setting, which
can be tested by conditional directives in source code. For example, include file
p33AK128MC106.inc contains
the following:
.ifndef __33AK128MC106
.error "Include file does not match processor setting"
.endif
In addition to the target processor, a macro to identify the device family is also defined. For example:
.ifdef __dsPIC33A
.print "dsPIC33A family selected"
.endif
Macros for the device families (see 4.5.5 Predefined Symbols) are defined based on target processor setting.
