Rob Hamerling wrote:
I'll make the nibble routines inline and make a comparison of the results for a few programs (before committing the device files!). Programs using the 4-bit LCD library will probably give sufficient info.
I've compiled several sample programs for which 'inline' for nibbles appears to save 1 stack level and about 15 words of code memory. However with a 'real' - though not very large - program the stack level remained the same and more code memory was used. I did not count instruction cycles, but I expect that will probably lower with 'inline' for all programs.
So consistency with ports and pins may be the decisive argument in favour of 'inline'.
Comments? Regards, Rob -- Rob Hamerling, Vianen, NL (http://www.robh.nl/) -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
