Guest User

Untitled

a guest
May 27th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. section .bss
  2. counter resb 1
  3.  
  4. section .text
  5. global _start
  6.  
  7. _start:
  8. mov BYTE [counter], 48
  9.  
  10. loop:
  11. mov edx, 1
  12. mov ecx, counter
  13. mov ebx, 1
  14. mov eax, 4
  15. int 0x80
  16. inc BYTE [counter]
  17. cmp BYTE [counter], 57
  18. jle loop
  19.  
  20. mov eax, 1
  21. int 0x80
Add Comment
Please, Sign In to add comment