Hi, I need to fit a given program that I will write in C, inside 2K of memory of a given PIC. How do you people evaluate if the program will or will not fit on that amount of memory? (besides experience...) I mean, I can guess it will fit, knowing the complexity of the code and what it should do, but how can I be certain? A program that is not working *very* well, but that has all the required functions is consuming 1K of memory. That program was written by a person in assembly language and, I must add, this was his first project (or so) so it might not be as optimizet as should be. Now, this person, wants me to do it in C, I can do it, off course, but I'm afraid of what might happen if I run out of memory, since due to $$$ constraits I can't upgrade to the next level PIC (I'm using the 1.38 U$ PIC16F716) Regards, Mauricio -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist