Xiaofan Chen wrote: >> That's only one of many problems. I think it would be impossible to >> properly track indirect addressing references. Since often run time >> math is used to calculate the target address, you don't know what is >> ultimately being addressed. This means you have to keep all RAM at >> exactly the same addresses on the new machine, but of course that is >> either impossible or leads to other problems. > > C compile will be quite good at this even though some people may not > opt for C. I think you are missing the point that the OP is trying to convert just the raw binary from one PIC type to another. This therefore has nothing to do with whatever language was used to create the code in the first place. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist