Re: Re: multitasker.fs question
Alex Holden <[email protected]> Mon, 06 Dec 2004 11:54:28 +0000
| Newsgroups | gmane.comp.lang.forth.picforth |
|---|---|
| Message-ID | <[email protected]> |
Samuel Tardieu wrote: >>>>>>"Alex" == Alex Holden <[email protected]> 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