I suppose that the only way to write the serial routine is to code it in asm.

Damn me for choosing this somewhat limited pic