PBP 2.60 & ADCON1 problem
I recently upgraded to PBP 2.60 from 2.46.
Using Microcode Studio Plus V3.0.0.5, when I compile a program named "TEST" for the 16F876A, containing a single line "ADCON1 = $06" I get the following assembler errors:
Error Test.ASM 47 : [202] illegal character 'x' (x appears as a square)
Error Test.ASM 47 : [226] numeric constant or symbol name expected
Error Test.ASM 47 : [201] ')' expected
Fatal Test.ASM 47 : [300] too many errors
When I set the compiler option to a different directory, which contains PBP 2.46, the problem dissapears. Examining the listing with Hexedit shows the illeagal character to be $08, also known as ^H and backspace. I haven't been able to find that character in any of the include files or the .mac file shown in the listing.
I find that other code, which compiled and assembled correctly using older versions of PBP, also exhibits the same problem when ADCON1 is written.
I use have used PBP for 10 years, writing code for interactive science museum exhibits, and have never encountered the illegal character error.
Any ideas?
Thanks,
Bob Reynolds
Lead Electronics Developer
Oregon Museum of Science and Industry