• Assembly not supporting in keil 5.06
    void JumpToUserApplication(LWord userSP, LWord userStartup) { volatile LWord avoid_optimization; avoid_optimization = userSP; //In order to avoid optimization issue when -Os avoid_optimization ...
  • armcc 5.06u6: --multifile and the elimination of unused variables
    Hello, I have successfully used armcc 5.06u6 to compile and run a firmware for an ARM7TDMI target with 32kB flash. To save some space now I am trying to use the --multifile option. This actually saves...
  • Is --debug option equivalent to -g option in armcc?
    In armcc user guide I learned that description of --debug and -g are quite similar. Is --debug option equivalent to -g option in armcc?
  • String tokenizing
    I need to extract eight values from a string I'm receiving from my serial port. I have the following code: unsigned char xdata *p_ch; unsigned int xdata ch = 0; // Get command p_ch = strtok( com_buffer...
  • ARMCC: Bitwise Vs half word access
    I was under the impression that the compiler would generate same code for read and write operation on the members of the following structure: typedef struct S32data_t { uint32_t a:16; uint32_t b:16;...