@neauoire not my example but Knuth implements coroutines using self modifying MIX (in The Art of Computer Programming)