Skip to content

Instantly share code, notes, and snippets.

@shhyou
Last active August 29, 2015 13:58
Show Gist options
  • Save shhyou/10007599 to your computer and use it in GitHub Desktop.
Save shhyou/10007599 to your computer and use it in GitHub Desktop.
global _start
[BITS 32]
_start:
mov ecx, 20000000
call _func
_func:
pop eax
sub esp, 4
dec ecx
jz .exit
jmp eax
.exit:
xor eax,eax
xor ebx,ebx
inc eax
int 0x80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment