Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- section .text
- global _start
- _start:
- mov eax, 4
- mov ebx, 1
- mov ecx, msg
- mov edx, msgLen
- int 0x80
- mov ecx, [nb]
- inc ecx
- mov [nb], ecx
- cmp ecx, [nbCmp]
- jl _start
- mov eax, 1
- int 0x80
- section .data
- nb dd 0
- nbCmp dd 10
- msg dd 'Hello World !', 0xa
- msgLen equ $-msg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement