There are many tool for such, for example if you google for the word "asmflow" you will get many relevant hits. Most of them are for 80x86 platform only, but there are some that knows 8051 too - have not seen any PIC related ones though. Anyway, reverse engineering a software is more or less what the guys here said before: commenting and naming the labels, functions and variables. One of the most popular tool in the PC industry is the IDA (Intelligent Dis Assembler) which makes reversing relatively easy. The newest version of it even creates a kind of graphical flow where you can name and fold code segments, putting them together etc making the complex flow easier understandable. But still, you need to understand the lowest parts, then commenting it and making nice labels makes easier to understand the upper level, which you comment and label again, and you go upper and upper on this circle till you reach a point you are happy and confident. The unPIC project I started a year ago or so supposed to help on reversing PIC codes but it works with HEX files (as the original goal was to disassamble the code) and also the project suspended as I have very limited amount of spare time at the moment. Anyway, the text editor is the best here as far as I concern, and maybe a piece of paper to draw. Good luck, Tamas On 1/15/08, Alan B. Pearce wrote: > > > http://www.fatesoft.com/s2f/ > > Not sure that it can be extended to PIC assembly though. > > It may be possible to use something like some UML tools that will derive > sequence diagrams etc from source code. The 'Creating a UML project by > Reverse Engineering' comes to mind that is on the Netbeans site. > http://testwww.netbeans.org/kb/55/uml-re.html I don't know if the java can > be modified to deal with ASM instead. > > Probably not worth it for around 1000 lines, but longer term a larger > project or very convoluted code might make it worth looking at. > > > > -- > 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