• OPTIMISING CODE
    HI all iam working on cygnal mcus,we have limited keil programme space of 1000bytes now my programme is yet to cross the limit . how to reduce the code size , if any one knows please put a reply to...
  • over ambitious code optimisation
    I have a memory mapped A/D converter (with a conversion time << one machine cycle, therefore no need to check for End of Conversion). The following code was written to explain the problem: - xdata...
  • Broken optimiser?
    Hi, We are encountering unexpected behaviour following an increase in optimisation levels from 8 to 9. The problem we are seeing centres around an XDATA variable assignment (vt_safety_u = B0_SAFETY...
  • typedef & optimisation
    In the book "TCP/IP Lean" [1], the author states: "I have used #define in preference to typedef because compilers use better optimisation strategies for their native data types." Is this true of...
  • Compiler optimisation
    Hello, 1.when i use printf with no var_args then the compiler should call puts instead of printf. ex1: #include <REGX51.H> #include <stdio.h> void main(void) { printf("This must call puts...