Convert YASM code to inline assembly

* Updates the assembly code to use @peterdettman's parallel multiplication algorithm.
* Convert the YASM code to inline asm blocks.