Advertisement
Guest User

Untitled

a guest
Jan 26th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. {% elsif flag?(:x86_64) %}
  2. asm("
  3. pushq %rdi
  4. pushq %rbx
  5. stmdb sp!, {r0, r4-r11, lr}
  6. str sp, [$0]
  7. ldr sp, [$1]
  8. ldmia sp!, {r0, r4-r11, lr}
  9. mov r1, lr
  10. mov lr, #0
  11. mov pc, r1
  12. "
  13. :: "r"(current), "r"(to))
  14. {% end %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement