• MACRO
    Hello, May I know if the code as shown below works? -------------------------------------------- #pragma src void main(void){ #pragma asm myMacro MACRO MOV R1, #01 MOV R2, #02 MOV R3,...
  • ## 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
  • 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