7-18 MSC8101 User’s Guide
Interrupts and Interrupt Priorities
asm("nop");
asm("adda r1,r0"); //SIVEC address
asm("nop");
asm("moveu.b (r0),r1"); //get SIVEC to figure out the irq
source
asm("move.l #_SIC_BranchTable,r0"); //get branch table base
asm("nop");
asm("adda r0,r1"); //add sivec to branch table base
asm("nop");
asm("move.l (r1),r0"); //get address of irq function from
//branch
//table
asm("nop");
asm("jsr r0"); //call interrupt function
Comments to this Manuals