Mikroelektronika MikroE Development Kits MIKROE-998 Datenbogen

Produktcode
MIKROE-998
Seite von 446
PIC18F8722 FAMILY
DS39646C-page 370
© 2008 Microchip Technology Inc.
26.2.5
SPECIAL CONSIDERATIONS WITH 
MICROCHIP MPLAB
®
 IDE TOOLS
The latest versions of Microchip’s software tools have
been designed to fully support the extended instruction
set for the PIC18F8722 family. This includes the
MPLAB C18 C Compiler, MPASM assembly language
and MPLAB Integrated Development Environment
(IDE).
When selecting a target device for software
development, MPLAB IDE will automatically set default
Configuration bits for that device. The default setting for
the XINST Configuration is ‘0’, disabling the extended
instruction set and Indexed Literal Offset Addressing
mode. For proper execution of applications developed
to take advantage of the extended instruction set,
XINST must be set during programming.
To develop software for the extended instruction set,
the user must enable support for the instructions and
the Indexed Addressing mode in their language tool(s).
Depending on the environment being used, this may be
done in several ways:
• A menu option or dialog box within the 
environment that allows the user to configure the 
language tool and its settings for the project
• A command line option
• A directive in the source code
These options vary between different compilers,
assemblers and development environments. Users are
encouraged to review the documentation accompany-
ing their development systems for the appropriate
information.