Did yo specify mcu arch?
Did you include appropreate header?
If you did not something, the system will behave as you get.


~d

On Friday 20 December 2002 19:02, Mark Stokes wrote:
> 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
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
> Time is running out!  Thinkgeek.com has the coolest gifts for
> your favorite geek.   Let your fingers do the typing.   Visit Now.
> T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to