SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- .data
- numstr:
- .ascii "0"
- .set len, . - numstr
- .text
- .globl _start
- _start:
- mov $5, %ebx
- call loop
- mov $1, %eax
- xor %ebx, %ebx
- int $0x80
- loop:
- mov %eax, %ebx
- mov %eax, %ecx
- call prn
- ret
- prn:
- add $48, %ebx
- mov %ebx, numstr
- mov $numstr, %ecx
- mov $len, %edx
- mov $4, %eax
- mov $1, %ebx
- int $0x80
- ret
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.