• Nesting of pre-processor #if/#endif
    Hello. Using C51, is nesting of pre-processor #if/#endif statements allowed?
  • Sub String in Pre-Processor?
    Does anyone know how to get the pre-processor to spit out a substring? In this case, I want to include only the year from the __DATE__ macro. Something like: #define YEAR=substr(8,4,__DATE__) const...
  • Using 'C' pre-processor with A51
    Common C51 & A51 headers are very useful. However, there seems to be no way to write code that is conditional upon command line defines that works for both the compiler and the assembler. For example...
  • Combining pre-processor and scatter files?
    Hello, The documentation of the RealView tool chain is a little vague on this: can I run the preprocessor on scatter files? How exactly is that does? Can you offer a simple example?
  • float to IEEE754 binary pre-processor macro
    Does the ARM-KEIL compiler support a preprocessor macro that allows me to convert and assign an IEEE754 binary value to a const UInt32 from a given float number?