springtank's solution worked for me totally fine on pbp 2.6 (Thanks one more time!)
A compiled .hex file of 1822 , also worked 'as is' on the 1840!
I used many registers in my program (can't remember now) ,
and i remember first ,i compared the two pic memory maps (18f40 and 16f628) and were same ,
the only differences were the extra registers on the bigger pic.
ps. don't expect to get '18F40' on pull down list , just use springtank's guide.
Bookmarks