At 20:28 22/09/99 +1000, you wrote: >I've got two completely unrelated questions for you all: > >1. What is the corelation between HEX file size and the program mem usage >on the PIC? Is it file size / 2 like I suspect? Can you get the compliler >to spit out stats like those shown at the end of Microchip's source code >in their application notes? The HEX file size is quadruped the program memory used plus 13 bytes additional bytes per each 8 words of program memory (Rule of thumb). This calculates to over 5.5 times the size for the hex file. Add to this 47 bytes for ID plus 17 bytes for the config word. Jim Regards, Jim Robertson NEWFOUND ELECTRONICS ________________________________________ Email: newfound@pipeline.com.au http://www.new-elect.com MPLAB compatible PIC programmers. ________________________________________