Dmitry Kiryashov email (remove spam text)
Few addition. I think not need to pre-initialize STACK
with Proc_1 , Proc_2 ... address values . Let it's values
contain some pre-compiled table's array .
DT HIGH(Proc_1), LOW(Proc_1), HIGH(Proc_2), LOW(Proc_2),...
And SEMAPHORE should rewrite as:
MOVLW HIGH (Intro_points)
MOVWF PCL ; It's hidden GOTO ;)
It's just idea that I was thinking some times ago .
But it still not true multitasking because there are no
ability to stop any procedure at any time and execute
any another .
seeking: microchip ints multitasking
See also: piclist.com/techref/microchip/ints.htm?key=multitasking
You must be a member of the
piclist mailing list
(not only a piclist.com member) to post to the