• Overkeen Optimisation of Volatile variable
    I have ported some code to an 8051 based processor using Keil C51 v7.06 (from Cosmic for ST7). The code worked fine with Cosmic, and indeed nearly all of it works with C51. One area is causing trouble...
  • Optimising C++
    I've ported some code from C to C++ and I'm shocked at how much more slowly it runs. I've written a lot of C++ in the past, so I know I haven't done anything absurdly inefficient, but execution times...
  • volatile
    Hi, when keyword volatile is used in the C programming...i have studied in one book that this volatile keyword is a directive to the compiler's optimizer that variables declared as volatile will not...
  • volatile ?
    What is the use of declaring a variable volatile... what it means if it is specified volatile?
  • non volatile memory
    I am wondering how to save a variable's value in case of power reset. I am creating a program to write to a display and I want to keep track of the selection that the user made before the system power...