• 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,...
  • Are there any predefinied macros for armasm?
    Hi, i want to check with a IF :DEF:xxxxxx if my assembler routine was assembled with the Keil assembler for ARM or with a IAR or with a TI toolchain. The compiler predefines like __arm__ are...
  • Asm bit banding macro
    Good day. I try to create asm bit bannding macro. it's only macro and invocation code: MACRO ;macro definition sram_bit_band_set $p1,$p2 LDR R4,=0x22000000+p1*32+4*p2 MOV R5,#1 STR R5,[R4]...
  • Re: Asm51 Macro Documentation
    Received uVision v1.2 with Schultz's book "C and the 8051". Need to write a Macro in Assembler but cannot find a reference to doing this. The best data was contained in the file TEMPLATE.A51. Is any...