• 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...
  • assembler macro included in C macro
    l.s., For delay purposes I need NOP's in an assembler macro, the code below doesn't do the trick. Thread 2267.htm doesn't help me either. A C macroloop, with e.g. DELAY(a); a = 10, slows the execution...
  • 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...
  • problem with macro
    the following type of macro defining causing error , what should i do? plz help. #define LCD_DATA P2 error: 'LCD_DATA': undefined identifier