Hi Ed,
Of course you're not sending an infected file - intentionally - but people are being careful, just like you and that's a good thing. It's not to much code to post but you really should use the proper code tags so it ends up in a scrollable window and doesn't loose indentation etc. See here: https://www.bbcode.org/examples/?id=15 for instructions on how to use it.
Back to your problem then....
I tried compiling your code for the 18F452 and it compiled without any errors. I also tried the mentioned 16F876A but then I get a couple of error from the assembler (Argument out of range 8207 not between 0 and 8191) however selecting another random 16F series device (like the 16F1829) makes it compile without any errors.
For which device are you trying to compile?
What version of PBP are using?
What version of MPASM are you using?
/Henrik.
Bookmarks