Created
March 5, 2017 17:14
-
-
Save stryku/5376eb6d2dcb9ab192eae8f941f6210e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pop eax | |
pop ecx | |
cmp eax, 0 | |
jg end | |
mov ebx, 0 | |
loop: | |
add ebx, ecx | |
cmp ecx, 0 | |
jg loop | |
mov eax, ebx | |
end: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment