Do it in C, compile it, and then do a disassemble with any tool (W32Dasm is my choice)

Oskilian