https://github.com/ip1981/GCD/blob/mast
Невероятный по красоте способ перевода строки в целое число
(http://www.cyberforum.ru/archive/t-214
str2uint_loop: lodsb # going forward from esi # HINT: assert '0' <= al <= '9' lea (%ebx, %ebx, 4), %ebx # ebx = 4*ebx + ebx = 5*ebx ;-) lea -48(%eax, %ebx, 2), %ebx # ebx = 2*ebx + %eax - 48 # ebx is multiplied by 10 each iteration, # eax-48 will be multiplied at the next iteration ;-) loop str2uint_loop ret