O.K. And what about the data and parameters that have to be passed between C and ASM? I'll work with text strings (for the lcd), integer numbers (date, time), bytes, flag bits (some "BIOS" status), etc. -----Mensaje original----- De: Andy Kunz [SMTP:mtdesign@FAST.NET] Enviado el: jueves 22 de enero de 1998 14:41 Para: PICLIST@MITVMA.MIT.EDU Asunto: Re: ASM & C >The low level routines are already >written in assembler, and I want to write the high level in C. Good choice. Get the HiTech C compiler, of course. >I work in >MPLAB, always in ASM, so I have no idea how to put this thing together. Any >ideas? Convert your assembly to the HiTech assembler (part of the C package) or work with in-line code (not as nice). It will link the two pieces together flawlessly. I've used it for several projects myself this way, and would be willing to help out if needed. Andy ================================================================== Andy Kunz - Statistical Research, Inc. - Westfield, New Jersey USA ==================================================================