My favorite blog post of all time is Haberman's "Hello, JIT World: The Joy of Simple JITs" which covers using DynASM. [1]
I wish there was better documentation for DynASM. I wonder what cool programming projects would be created if DynASM was better known and better documented.
[1] http://blog.reverberate.org/2012/12/hello-jit-world-joy-of-s...