Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- global main
- extern scanf
- extern printf
- section .data
- gwiazdeczka: db '* ',0
- x: equ 5
- section .bss
- i: resb 1
- section .text
- main:
- mov byte[i],0
- petla:
- inc byte[i]
- mov rax,0
- mov rdi, qword gwiazdeczka
- call printf
- cmp byte[i], x
- jne petla
- koniec:
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement