The multitasking executive should start one routine, and then when it cedes it should start the other one, and then it should alternate between the two.
Put each subroutine in its own file. We will give 50% credit for just the spirograph part, and more credit for increasingly near-to-working multitasking. Make a precise plan for your cooperative multitasking system and document it. How will it look to the routines that use it, how will the registers work in the implementation, where will you save them, where will the two (or maybe three?) stacks live, how will you switch them back and forth. 25% credit for that. The last 25% for actually implementing it.
You may work on this assignment in teams of two. More will be expected of a team than of a single individual.
Due midnight Wed May 8. To hand in your code and other files, log into a *.cs.unm.edu linux machine and run
Hand in checklist: