Advertisement
Guest User

Untitled

a guest
Dec 18th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. main:
  2. irmovq Pino,%rsp
  3. irmovq Pino,%rbp
  4.  
  5. irmovq $0,%rax
  6. irmovq $1,%rdx
  7. call jakolasku
  8. halt
  9.  
  10. jakolasku:
  11. addq %rdx,%rax
  12. subq %rsi,%rdi
  13. jg jakolasku
  14. ret
  15.  
  16. .pos 0x100
  17. Pino:
  18.  
  19. main:
  20. irmovq $0x0,%rax
  21. irmovq $0x1,%rcx
  22. irmovq $0x8,%rbx
  23. irmovq $0x200,%rdi
  24. irmovq $0x0,%r8
  25. loop:
  26. addq %rcx,%rax
  27. addq %rbx,%rdi
  28. mrmovq (%rdi),%r9
  29. subq %r8,%r9
  30. jne loop
  31. halt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement