• define a constant to an absolute address
    How to define the following constant to an absolute address at 0x1000? unsigned char code index[] = { 0x3, 0x5, 0x6 } ; //a constant mem in a file Thanks for any help!
  • Defining C Preprocessor Constants in A51
    Does anyone know a way to define C preprocessor comments at the command line for A51? For example, in C I would do something like: C51 foo.c DEFINE(SOME_CONST) but the "DEFINE" directive does not...
  • C++: Not possible to define global constants?
    If in "normal" C, I define a global constant in one module: const int iTabCount= 5; and then use this constant in another module (module2.c) with extern: extern const int iTabCount; ...
  • Define variables in assembly file
    How do define short, byte and integer variables in the startup.s file? what are names of this directives?
  • DEFINE's
    Sorry to bug this forum, but I have no one else to ask.. In one program sample file there is this definition #ifndef MCB2130 #include <lpc21xx.h> #else #include <lpc213x.h> #define ADCR AD0CR...