> Oh, sorry. In my attempt to explain things as simple as possible I > over-simplified the number of macro indirections. With the following > it should work: > > >>> > lohmann@mocca:~/tmp$ cat test.cpp > #define TIMER0_OVF_vect _VECTOR(16) > #define _VECTOR(N) __vector_ ## N > #define STRINGIFY(x) #x > #define IRQ_VECTOR(vec) asm(STRINGIFY(vec)) __attribute__ ((signal, > __INTR_ATTRS)) > > Daniel I thought I had tried that but must have done something wrong. This works just as I want it. Thanks Daniel et al. Ron E-mail message checked by Spyware Doctor (5.5.0.178) Database version: 5.09100 http://www.pctools.com/spyware-doctor/