• 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...
  • ArmCC Code optimisation
    Note: This was originally posted on 1st June 2011 at http://forums.arm.com Hi, I am trying to generate an assembly code for the following C structure access using armcc typedef struct {   char a : 4 ;...
  • 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...
  • 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...