Get inspiration from my code, don't use it directly. P.S. if there's been an assembly source included, then I've probably included the executable produced by the assembly (it's smaller) code.