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 down too much. Can Anyone help me? thanks, *** #define DELAY(a) \ { \ volatile unsigned b; \ for(b = 0; b < a; b++) \ { \ } \ } #define DELAYNOP \ { \ #pragma asm \ NOP \ NOP \ NOP \ NOP \ NOP \ NOP \ NOP \ #pragma endasm \ }