I'm trying to have the basic timer simply tell the CPU to turn back on
every 250ms.  I am pretty sure I have the BT stuff setup right, but I'm
not getting the asm I expect for the ISR itself.  Here's the .lst from
the BT IRQ:

interrupt (BASICTIMER_VECTOR) wakeup BasicTimerIRQ(void)
{
    nop( );
    14a6:       03 43                   nop                     

000014a8 <wait>:
}

Note, the 000014a8 <wait>: statement is signaling the start of the next
function (called "wait").  The only reason I have the noop in there is
for clarity.
Two things I don't see that I expect:
1. There is no IRET instruction at the end (much less a regular "ret").
2. I read the docs to say that if I used the "wakeup" attribute, it
would cause the compiler to set the CPU on.  For IRQ's, this has to be
done by clearing the CPUOFF bit in the "saved" Status register on the
stack.  This is also not being done.
Any ideas?
Thanks
-Mark


Reply via email to