Hi,
first of all i have to apologize in advance because of my English ( I am Italian ) and because i am very new to this forum and to PIC world.
I wrote a basic program for the 877 target pic and I found stange behaviors of the system.
The source is written using microcode studio.
The program uses a FP routins called DDS in the source file. If the DDS routine is included in a subroutine then i do not have any compiling error BUT the pic does not work at all.
If I call out the routine every time it is needed then the system works . If the routine is called out more than three times then no error during compiling is observed BUT the Pic does not work.
I did several tentative using the MPASM and using the MPLAB : the error lists are attached .
I did rem_out the first two lines of the program using Mpasm. Using Mpasm I did rem_out "c" and "z" register bit declaration to avoid additional errors !
I am not really sure if the use of FP routines have some limitation...
Thanks a lot for any direction on the matter.
Ambrogio
IW2FVO





Bookmarks