Volatile declaration

Should I be using the "volatile" declaration with the Keil C compiler? It hasn't made a difference so far - as far as I can tell (which may or may not mean anyting). The manuals make no reference to it one way or the other.

Parents
  • "The manuals make no reference to it one way or the other."

    That's because there is nothing special about it in Keil C51 - it has the standard ANSI 'C' meaning & behaviour.

    The manuals do not attempt to teach you the 'C' language - they assume that you know the language, and focus only on the issues & extensions specific to the implementation.

    Therefore you need to consult a standard 'C' textbook for this.

Reply
  • "The manuals make no reference to it one way or the other."

    That's because there is nothing special about it in Keil C51 - it has the standard ANSI 'C' meaning & behaviour.

    The manuals do not attempt to teach you the 'C' language - they assume that you know the language, and focus only on the issues & extensions specific to the implementation.

    Therefore you need to consult a standard 'C' textbook for this.

Children
More questions in this forum