Isaac Marino Bavaresco wrote: > For some very critical cases the assembly language may be better, but if > the object code fits in the program memory, it doesn't matter if it > takes 50%, 70% or even 80% of the memory. > It is good to have some spare space for future enhancements, but in the > case you mention of a high volume project, it is OK even if it takes > 100% of the program space. > The only case where asm should ever be needed is when exact timing is required. There are many reasons for efficient code in applications. Code size is only one of them. Making sure the code will fit the available ROM is important. Execution time and RAM usage are two additional important application metrics that are important to a successful project. Execution time is directly related to the amount of generated EMI and power consumption. Regards Walter.. -- Walter Banks Byte Craft Limited http://www.bytecraft.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist