Thanks Henrik for your comment. The only way I was able to fix the problem was to uninstall both MicroCode Studio and PBP3.1, reboot the machine and re-install.
Type: Posts; User: blackwood; Keyword(s):
Thanks Henrik for your comment. The only way I was able to fix the problem was to uninstall both MicroCode Studio and PBP3.1, reboot the machine and re-install.
Something I have done in the last week has resulted in MicroCode Studio only displaying 16F628A and 18F25K20 in its Microcontroller list. I Have PBP 3.1 installed and activated and MicroCode Studio...
Problem is fixed.
My original include files looked like:
INCLUDE "vars4.inc"
GoTo Initialise
INCLUDE "DT_INTS-18.bas"
INCLUDE "ReEnterPBP-18.bas" ; Include if using PBP interrupts
I have just found that if I comment out the following include files, the shift function in the main program compiles/assembles without error.
With the shift function omitted and these files...
The value of B1 does not seem to affect the error message. I have tried forcing B1 to 1, 40 and 255 and the error message is the same.
I have a PIC18F2520 project which uses shift operators.
e.g. B1 = B1 << 5
(B1 is a byte variable)
When it compiles, MPASM produces the following error result:
ERROR[126]...