Thank you Acetronics.
I added
@ ORG 3FFh
@ RETLW 30h
to the end of my program it compiled and increased the program length from 102 words to 1024 words I assume this is due to the fact that the osccal value is at the end of the chip memory.
However when I tried to burn the HEX file I get errors. Which leads me to conclude I must have fried part of the chip at some point (like when I plugged it into the breadboard wrong and it got hot and almost burnt my fingers).
I'll think I'll have to junk this chip but it is extremely helpful to know how to make changes like this, thanks again.
Also thanks to Pic2008 for pointing out my syntax error.
Bookmarks