A minimalistic implementation of coroutines in C and Assembly