Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .bss
- counter resb 1
- section .text
- global _start
- _start:
- mov BYTE [counter], 48
- loop:
- mov edx, 1
- mov ecx, counter
- mov ebx, 1
- mov eax, 4
- int 0x80
- inc BYTE [counter]
- cmp BYTE [counter], 57
- jle loop
- mov eax, 1
- int 0x80
Add Comment
Please, Sign In to add comment