On January 14, 2006 05:37 am, William Couture wrote: > On 1/13/06, Jose Da Silva wrote: > > On January 13, 2006 11:14 am, William Couture wrote: > > > There are a lot of versions of code for this, and I need to find > > > the one they copied. > > > > 1. Use a disassembler to reverse the code into source code. > > 2. Use just the command sequence to quickly find-out which one they > > copied by using the unix "diff" command: > > xxxx movlw xxx <-(the xxx stuff throws off a diff too > > quick) xxxx addwf xxx > > gets stripped-down to this: > > movlw > > addwf > > etc... > > > > This should probably give you the quickest answer to find the > > version since you really don't care too much if they swapped RAM > > file registers (this affects the byte values in the hex code) which > > is going to throw-off your diff command quite quickly. > > Some more info (some of it learned yesterday afternoon, after my > initial question): > > The original source code is C for a 68HC11. They did their changes > from a ROM. So, I have to figure out if they just patched the ROM > image, or did they disassemble, change, and re-assemble. Then, > maybe I can find the version they pirated... Bleh... Bleh is correct since you are dealing with 1,2,3 or 4 byte codes. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist