• Code efficiancy
    Hi all, My code is based on C and I have a lot of cases where I assign a value to a variable. Is it more efficiency to just place the value or first to check if the variable already has this value? ...
  • Code efficiancy
    Hi all, My code is based on C and I have a lot of cases where I assign a value to a variable. Is it more efficiency to just place the value or first to check if the variable already has this value? ...
  • efficient c programming
    Hi everyone, I wonder if there is a documentation that explain how to program efficiently on arm cortex-m and arm cortex-r platform? I found "arm system developer's guide", but i worried it was too...
  • Looking for efficiency
    I am using small memory model and I need to write data to an absolute memory location (0xC002), so I'm using the MVAR macro: #define DISPLAY_DATA MVAR(unsigned char, 0xC002) void main(void) { DISPLAY_DATA...
  • array initialization efficiency
    Hi, I'm trying to cram my software into 8k and noticed the following regarding array initialization. Regardless of the size of the array, a call to a library function COPY is made. In the attached...