[PicForth] Re: multitasker.fs question

Samuel Tardieu sam at rfc1149.net
Mon Dec 6 12:26:48 CET 2004


>>>>> "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 :)

  Sam
-- 
Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/sam



More information about the PicForth mailing list