Skip to content

Instantly share code, notes, and snippets.

@stryku
Created March 5, 2017 17:14
Show Gist options
  • Save stryku/5376eb6d2dcb9ab192eae8f941f6210e to your computer and use it in GitHub Desktop.
Save stryku/5376eb6d2dcb9ab192eae8f941f6210e to your computer and use it in GitHub Desktop.
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