waskol wrote:herrrrrrrrrrrr........
Chema, you ar funny !
I think you over-estimate me
I was never able to write any of these macros myself too
But it is not in the sources of the compiler where we should look at. I know there must be some kind of documentation where each macro is explained (never saw it, but must exist). Then it is a matter of implementing it in 6502 asm (they are not too difficult, really) and adding it to the macros.h file.
Anyway, when talking about C code, I meant you (maybe) can figure out which of your instructions generated the offending macro, and try to doit differently.
Imagine you have something like
which is surprisingly similar to the params of MULI_CCD(3,-1,tmp0), two signed integers and store the result in tmp0. I also suppose it is related to an integer muitiplication, but no idea what CCD could mean.
Anyway, you can comment the code and see if the error still exists. If it does not, then you can try to change your code to something like:
and see if that works...
It is a quick hack. I had to do something similar once to avoid a missing macro, but I cannot remember the exact case.
If you cannot relate the macro to your code at any point, you can try by simply commenting parts until you find it.
Not the nicest thing to do, but I see no other chance...