On Mon, 2007-04-02 at 21:11 +0100, Steve Smith wrote: > Well if you replace all the labels 'config' with con_fig it compiles for a > 628 in mp lab but I haven't looked at the functional differences between the > parts shouldn't be too bad Hello Steve, There are a few issues you must look in to. First off, yes, you have to "translate" the config settings to the 628. Generally the 628 has "more" stuff in the config section, so you must turn off the things that the 16F84 doesn't have that may interfere with operation. Second, the analog comparators in the 628 have to be turned off, by default they are on. Third, and this is the one that either is zero work or TONS of work: you have to look at how the assembly is written. If the writers used the MChip include files, and did proper work with the bank settings (i.e. using BANKSEL) you should be OK. However, if they defined their own symbols for FSRs, or, even worse, used the numeric values you have ALOT of work ahead of you. Same with general RAM, if they did things proper you should be fine, if they used "defines" with absolute numbers then you may have alot of work ahead of you. Good luck! TTYL -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist