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,razy
- mov edx,[dl_razy]
- int 80h
- mov eax,3
- mov ebx,0
- mov ecx,ile
- mov edx,[dl_ile]
- int 80h
- xor esi,esi
- petla:
- mov eax,4
- mov ebx,1
- mov ecx,napis
- mov edx,[dl_napis]
- int 80h
- inc esi
- cmp esi,[ile]
- jbe petla
- mov eax,1
- int 80h
- section .data
- napis db "Hello, World", 0ah
- dl_napis dd $ - napis
- ile db 0
- dl_ile dd $-ile
- razy db "ile razy ma wyswietlic sie tekst", 0ah
- dl_razy dd $-razy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement