I have just revisited some old code which was compiled with the C51 C compiler - the code compiles ok (flow is C51->BL51->OH51). I now need to add some inline assembler. To check that the new flow (C51->A51->BL51->OH51) is ok before I make the changes, I directed the compiler to write a .src file. The assembler detects errors in the .src file - "ERROR #10.... ATTEMPT TO DEFINE AN ALREADY DEFINED SYMBOL". Any ideas?
you need to search in the editor on e.g. ADC_Byte6 to find the first occurence, cheaking both the .src and whatever other files it includes.
My GUESS is that there is something in an include that .a51 does not like while the compiler eats it with gusto
Erik