Fascinating thread to read. I've seen some very good stuff here!
Looking at my own code, I think I'll try to follow one suggestion here (more than I usually do). It is indeed best to note not just what registers are used as parameters by functions, but also what registers are trashed/changed/etc.
And if I'm honest, the latter part is something I tend to forget to add. So I'll try to incorporate that more.
|