Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .section .data
- a: .quad 0x8000
- b: .quad 018001
- greska: .byte 0
- .section .text
- .globl main
- main:
- movl a, %eax
- movb $0, greska #No misteka , esta misteka pocetka
- addl b, %eax #nizi deo a + b
- movl a+4, %edx
- movl b+4 %ecx
- adcl %ecx, %edx
- jno kraj
- incb greska
- kraj:
- movl $1, %eax
- int $0x80
- nop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement