Benchmark: timing 100000 iterations of Deparses, for... Deparsed: 5 wallclock secs ( 4.43 usr + 0.00 sys = 4.43 CPU) for: 6 wallclock secs ( 4.39 usr + 0.00 sys = 4.39 CPU) #### # Warning: I make no claims to know assembly, this is an example only :-) mov bx 0 ; Initialize our loop variable mov ax, 10 ; Remember our exit condition top: ; Mark the top of the loop jnle last: ; Quit if bx is not less than ax print bx ; Do the body of the loop add bx 1 ; Add one to the loop variable jmp top: ; go to the top of the loop last: