Making progress, I've changed the INC files to read like this:
CONFIG OSC=HS
CONFIG BOREN=ON, PWRT=ON, BORV=0
CONFIG WDT=ON
CONFIG STVREN=ON, LVP=ON, DEBUG=OFF
and much better progress, gotten rid of all my errors when turning into assembly - however one niggling error remains there were a few references to OSCS in the INC files and it wasn't working with them so I removed them, it doesn't seem to be listed in the MPASM inc file so figured it's not valid for this chip. So it creates the asm file now but comes up with the error:
Error[176] c:\contro~.asm 70 :CONFIG Directive Error: (setting "OSCS" not found for the processor 18f8722)
Have looked for references to it in all the other included files but can't find where it's coming from - it's obviously the Oscillator switch enable that was on the chip of the previous version the 18f8720 but I can't find it, is someone able to email me their 18f8722.INC and BAS files to see if they work any better?
Cheers
Bookmarks