Yes thanks , i have looked at it but didn't work. Actually this issue is in the "known problems" of C18 Compiler and there is no "work around" section of this issue. For now, it seems like solution is quite different and may be a litle tricky or maybe no solution at all. Is there a newer version of C18 ? ( I know there is C30 but it's for dsPics I think). I still wait for your comments. > Have you tried to change the memory model, like i wrote a few days ago? > >>As you can see page 38 of the MPLAB C18 C Compiler Getting Started > Document (DS51295B), you have to change the memory model in C18 Build > options to large code model. > >>Have a look at this document. > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.