extern dispatcher(); /* labels in in-line assembly must be declared. */ extern ticker(); /* This is the interrupt dispatcher routine. */ asm { dispatcher: movem.l D0-D7/A0-A5,-(A7) jsr ticker /* our function */ movem.l (A7)+,D0-D7/A0-A5 rte /* return from exception */ }