Frequently Asked Questions

How can I link an MPASM object into my project?

You can link in a Microchip MPASM object like this:
#import(file=yourmpasmfile.o, COFF)

You need to do this before you attempt to use any of the MPASM symbols in your C program. A good place is after you include the device header file in the main file.

Note: This may work to link a COFF file made by C18, but this functionality was not tested.


C-Aware IDE Demo
Embedded C Learners Kit
EZ App Lynx