> > - A/D acquisition time varies, also depending on source impedance > Yes, it could be the same problem as the timer one, isn't it? no. (most?) 16F's PICs have a recommended maximum source impedance of 10k, for (most?) 18F's this is 2.5k (IIRC). IIRC (but you might need to check this) 18F's can still get the full accurcay but the acquisition time needs to be (much?) longer. So whether the program's timing needs to be changed depends on the circuit oustide the PIC. > - self-write algorithms are vastly different > I am not sure what do you mean by? read a few datasheets, for instance 16F877 and 16F877A, check how writing to the program flash is done from a running program. > - peripheral control structure varies (distribution of bits > over bytes, > > semantics of bits, etc) > > As long as those described in the INC file I think it is not > a problem as it > disassembles the code completly so you will get a 'meaning' > of the code. So > 'btfss INTCON, T0IE' is always that and as long as INTCON and T0IE > definitions exists on both chips' INC file it could be > translated fine. That's an easy one, because the semantics don't change. Now read the various A/D modules. > > - A/D resolution: 8/10 > > etc etc > > Yep, those are more hard to do. Maybe that's why it is not > worth the effort > :-) That's my idea too. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist