To setup MPLAB for use with IAR tools:

1.      Make sure the environment variable QPICINFO is set to point to the
        'setup' directory of the ICC installation. This directory contains
        processor definition files *.i39. The path should end with a '\'.

2.      Install the IAR tools in MPLAB by selecting the command 'Install 
        Language tool...' from the Project menu, once for each of the
        compiler, assembler and linker. As Executable, use the provided
        'iari.exe', 'iara.exe' and 'iarl.exe'. These are wrappers that
        spawn the tools. 

3.      Create a MPLAB project. Select the language suite to be IAR. The 
        target node [.HEX] should use the IAR linker. Make sure Coff output 
        format is checked and add an include path to the ICC 'lib' directory.
        The 'Linker setup file' option is mandatory.

4.      Add a source node. This node should be configured to use the IAR
        compiler or assembler, 'PICmicro C compiler' or 'PICmicro assembler'. 
        Add an include file path to the ICC 'inc' directory. 

5.      Build the project.	



