Table of Contents
Previous topic Next topic
C COMPILER->C Language Definition->General Language Extensions
General language extensions provided by the compiler include:
- variables can be any length with all characters significant
- the C++ commenting convention // is supported
- the _interrupt keyword declares C functions as an interrupt routine
- the _persist keyword declares that a variable will retain its contents (eg. in battery backed-up ram) during power down and should therefore not be initialised
- the #asm and #endasm preprocessor directives allow assembler code to be inserted into the C source code.