Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Suma prvih N prvih brojeva
- #Nemanja Komadina, PR140/2015
- .section .data
- .section .text
- .globl main
- main:
- movl $5, %eax
- movl $0, %ecx
- ponovo:
- addl %eax, %ecx
- subl $1, %eax
- cmpl $0, %eax
- ja ponovo
- cmpl $0, %eax
- je kraj
- kraj:
- movl $1, %eax
- int $0x80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement