[PicForth] Re: multitasker.fs question

Alex Holden alex at linuxhacker.org
Mon Dec 6 12:54:28 CET 2004


Samuel Tardieu wrote:
>>>>>>"Alex" == Alex Holden <alex at linuxhacker.org> writes:
> Alex> And for the same reason the task is always reentered at the
> Alex> start of the toplevel word, not at the word after the yield.
> Alex, this is not the case -- the code generated by yield saves the
> *current* PC/PCLATH/FSR and restores it when the task is scheduled
> again. At least, that's how it is supposed to work :)

Ah. You're right, I got confused.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


More information about the PicForth mailing list