Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main:
- irmovq Pino,%rsp
- irmovq Pino,%rbp
- irmovq $0,%rax
- irmovq $1,%rdx
- call jakolasku
- halt
- jakolasku:
- addq %rdx,%rax
- subq %rsi,%rdi
- jg jakolasku
- ret
- .pos 0x100
- Pino:
- main:
- irmovq $0x0,%rax
- irmovq $0x1,%rcx
- irmovq $0x8,%rbx
- irmovq $0x200,%rdi
- irmovq $0x0,%r8
- loop:
- addq %rcx,%rax
- addq %rbx,%rdi
- mrmovq (%rdi),%r9
- subq %r8,%r9
- jne loop
- halt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement