The basic idea was that this disassembler I started to work on could find all relevant places, bank switchings etc. It knows which address is referenced by what instruction. For this one the tool has to know which register file is what -- this part is already done. So I thought that if I know these info about the other PIC than it should not be a big trouble to change all of these info -- I may wrong on this, tough. Basically it is a kind of compiler, except that the input is not an ASM file (aka text file) nor a C or whatever else but a binary. My doubt about this is that the other chip may have a different clock freq so that all time related stuff would fail. For example you might have to change time scaler for watchdog or timer interrupt, and also if the code based on instruction cycles (aka an iteration calculating time, make delays etc) then you have to put nops or change values for that. And that's very hard to tell by a stupid tool which of these values have to be changed to what. Regards, Tamas On 16/07/06, Wouter van Ooijen wrote: > > > and then you're basically looking at a PIC supercompiler. > > That might be interesting. > > Only to check its algorithms and design a program that it would chocke > on. > > 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 > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist