Pre-Emptive Multi-Threading / Tasking Demo - won't assemble HELP! Please
78rpm
Posts: 264
in Propeller 2
Trying to write a simple pre-emptive multi-thread/task switched. However, PNut complains "Register cannot exceed $1ff". I can not see how task_time exceeds $1ff, there are only a two screenfuls of lines of code and a few declarations. Please, can anyone see where I have gone wrong?
Is the label prefix "task" special in some way?
Is the label prefix "task" special in some way?
Comments
"res 0" should really generate a compiler warning. It's caused so many problems for me and others.
EDIT: Also, shouldn't your coginit line have "##@cog_start" and not just "#@cog_start"?
Electrodude, you are quite correct on both counts, where as I seem to be having trouble with counts today Thank you very much, to you and Seairth for your very prompt help. Now to debugging.