• 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
  • 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...
  • 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,...
  • arm assembler macro help
    I'm trying to get some arm assembly code to work with macros. I'm using free download version of keil tools. is the macro language the same syntax for armasm arm tools and free download keil tools? ...
  • ## 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...