Not _exactly_ what you're asking for, because certainly you're looking for a write-up/blog, however, if you haven't peeked at ape.S you absolutely must:
https://github.com/jart/cosmopolitan/blob/master/ape/ape.S
It is very commented, in a good way.
https://github.com/jart/cosmopolitan/blob/master/ape/ape.S
It is very commented, in a good way.
https://github.com/jart/cosmopolitan/blob/master/ape/ape.lds
It has a longform explanation in the comment at the top.