Hi Jan-Erik That was it. There are two linkers needed (I thought the MCC18 one just replaced the MPLAB one and would do both scenarios.........................apparently not. The tool suite setting for the linker was pointing to the linker in the MCC18 directory as opposed to the one in the MPLAB directory. I redirected it to the MPLAB dir and my old assembler project compiled just fine. I went and reloaded my C project and it whinged about which Linker to use I choose the one in the MCC18 dir and all went well. When I opened up the asm project the second time again it happily remembered to use the correct one and on the second reopen of the C project it remembered to switch to its linker. So all is well in codeville Phillip Things should be as simple as possible but no simpler Phillip Coiner CTO, GPS Source, Inc. Your source for quality GNSS Networking Solutions and Design Services, Now! -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Jan-Erik Soderholm Sent: Thursday, April 06, 2006 4:48 PM To: piclist@mit.edu Subject: RE: [PIC]Switch hitting between C and ASM > In my C program the ISR stuff has some inline assembler so > the assembler must be hanging around eh?. C18 has it's own copy of MPASM, slightly "tweeked" if I'm not wrong. > > Is there anyone out there that can tell me what I need to do to switch > between a C project and a ASM project. I'm not sure, but there is a "toolset" setting in MPLAB that might be something... > I also upgraded the IDE and compiler recently so maye there > is something in > my old assembler code that needs to be changed these days Well, who knows... :-) Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist