• ARM: Compiler bug; omitted subexpression
    This code: unsigned int Argh( unsigned int Word, unsigned int Base ) { return ( ( Word & ~1 ) << 2 ) + Base; } is compiled as: Argh PROC ;;;1 unsigned int Argh( unsigned int Word, unsigned...
  • How does VFP model omit startup code?
    I noticed most bare-metal examples included with DS-5 that rely on a FVP also include startup code (e.g. startup.s).  However, there's one bare-metal example (Calendar program for Cortex-A8-FVP) that...
  • ARM Compiler 6 Optimisation, omitted variables without warnings
    Finally I have completed the migration of my project from Compiler 5 to Compiler 6. But that was quite tedious process, and the most actually came from debugging lost variables and functions unknowingly...
  • main function ?
    why in Keil compiler we define the main as int rather that void ? int main (void) rather than .... void main (void) ,like in C51
  • Delay function
    Can anybody explain this delay function?? void Delay(void){unsigned long volatile time; time = 727240*200/91; // 0.1sec while(time){ time--;