• ## Macro
    Hi, I am use the ## as follows #define ADC_SRV_DEV 1 #define ADCCON(dev, chan, reg) AD##dev##CON##chan##reg then when I give ADCCON(ADC_SRV_DEV, 1, bits.FORM) = 3; // this is equavalent...
  • inline \ MACROs
    Hi, I want to avoid the CALL \ RET overhead of a certain function which is called only once in my program. I understand the uVision compiler does not support the inline keyword ( http://www.keil...
  • Predefined Macro
    Hi Can i change the Macro __DATE2__ to show the date as (yy-mm-dd)? /Ingo
  • To share macros
    Hello!!! I program in A51 with C8051F020. In my program, I use several modules. And in thes modules, I created some macros. My question is : How is it possible to share macros from one module...
  • assembly macro
    Does any one know how to create a macro to concatenate 2 tokens such as below in assembly? #define A(func) A_##func() Anh