We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 me regards john e
Pay attention to function parameter size and order. Read the function parameter passing section in the manual, so that you understand what the compiler will do with your parameters. Try to avoid writing functions that will spill parameters out of registers, and try to declare all your functions so that re-used parameters will stay in the same registers.