Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .text
- global _start
- _Start:
- mov ecx, 10
- mov eax, 1
- li:
- mov [num], eax
- mov eax, 4
- mov ebx, 1
- push ecx
- mov eax, [num]
- mov eax, '0'
- inc eax
- add eax, '0'
- pop ecx
- loop li
- mov eax, 1
- int 80h
- section .bss
- num resb 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement