Comment on The Art of Assembly Language (1996)parentComments−spc4768yI wrote an implementation of coroutines for C in both x86-32 and x86-64 bit assembly [1] last year. It's amazing just how few instructions it actually took (by taking advantage of the calling convention, not all registers need to be saved).[1] https://github.com/spc476/C-Coroutines
Comments
I wrote an implementation of coroutines for C in both x86-32 and x86-64 bit assembly [1] last year. It's amazing just how few instructions it actually took (by taking advantage of the calling convention, not all registers need to be saved).
[1] https://github.com/spc476/C-Coroutines