To all those that offered help and advice I would like to thank you all, it has been very helpful for a beginner
To those who only paid out on a novice, well I hope you never make a mistake in your life.
Many thanks again to all
TBH stoker, I don't see anywhere within this thread where 'the novice has been beaten up'....it's not really the kind of thing we tend to do on this forum.
For starters, trying to interpret a disassembly of an unkown HEX file is something which the most seasoned programmers here would likely hate to attempt, let alone suggest to a beginner.
Undocumented ASM code is pretty difficult to decipher after some time even by the person who wrote it, let alone someone else trying to follow and understand.
You'd do much better in your quest by starting from
scratch, with basic tutorials designed to teach fundamentals and gradually introduce more advanced topics/methods.
A few links:
Nigel Goodwin's (Nigel Goodwin) tried and tested PIC tutorials...
David Meiklejohn's (Meikled) tutorials...
Gooligum Electronics
Pete Griffiths (Geko) PIC projects site...
Picprojects main project index page
Also searching for posts by 'Pommie', 'Mike,k8lh', 'Mr RB', 'AtomSoft' etc. will turn up some great examples, along with some very well-documented recent code from 'jakeselectronics'.
HTH to get you going.....
Regards.