This is the first in a series of three construction articles which build a portable multitasking environment for programming. The purpose of the series is two-fold:
The task is divided up into three construction articles, each of which builds upon the code and concepts of the previous one, but is complete in itself (it does not depend on the sucessive articles). The three steps are:
This article is the first in the series, and explains the concept of context switching and constructs a general-purpose and portable context switch...