Skip to content

Instantly share code, notes, and snippets.

@shhyou
Last active August 29, 2015 13:58
Show Gist options
  • Save shhyou/10024986 to your computer and use it in GitHub Desktop.
Save shhyou/10024986 to your computer and use it in GitHub Desktop.
global _start
[BITS 32]
_start:
xor eax,eax
call _func
mov ecx, 200
_loop:
mov eax, 100000
call _func
loop _loop
finish:
xor eax,eax
xor ebx,ebx
inc eax
int 0x80
_func:
or eax,eax
jz .bye
dec eax
call _func
.bye:
ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment