4.9.46 Processor Directive

The PROCESSOR directive should be used in a module if the assembler source is only applicable to one device. The -mcpu option must always be used when building to specify the target device the code is being built for. If there is a mismatch between the device specified in the directive and in the option, an error will be triggered.

For example:

PROCESSOR 18F4520