Hi;
I cannot compile that source code. What is the "LOOP" for?? This is a reserved word, you cannot compile the code with this word on a label. And i'm always getting illegal opcode.
What are you using to compile? Mpasm? or PBP?
Hi;
I cannot compile that source code. What is the "LOOP" for?? This is a reserved word, you cannot compile the code with this word on a label. And i'm always getting illegal opcode.
What are you using to compile? Mpasm? or PBP?
Last edited by gadelhas; - 6th September 2011 at 21:06.
Thanks and Regards;
Gadelhas
Got it;
Since I'm using MPASM needed to change the config line;
Also like i said before needed to delete the "LOOP" label also, since its a reserved word.Code:@ __config _INTOSC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_OFF & _BODEN_OFF & _MCLRE_ON
Thanks and Regards;
Gadelhas
LOOP is a reserved word for new version of PBP (2.60 and latter if my memory serves me well) you can replace it with a REPEAT/UNTILL, WHILE/WEND loop.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks