mov ecx, 10 mov eax, 1 mov edx, 1 loop: add eax, edx sub edx, eax neg edx dec ecx jnz loop