Re: multitasker.fs question

Samuel Tardieu <[email protected]> 06 Dec 2004 12:26:48 +0100
Newsgroups gmane.comp.lang.forth.picforth
Organization Avian Carrier & Friends
Message-ID <[email protected]>
>>>>> "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 :)

  Sam
-- 
Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam