Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .text
  2.     .global decrl
  3.     .type decrl @function
  4. decrl:
  5.     pushq   %rbp
  6.     movq    %rsp, %rbp
  7.     #movq   16(%rbp), %rsi
  8.     #movq   24(%rbp), %rcx
  9.     movq    %rsi, %rcx
  10.     movq    %rdi, %rsi
  11.     movq    $-1, %rdi
  12.     stc
  13. start:
  14.     incq    %rdi
  15.     sbbq    $0, (%rsi, %rdi, 8)
  16.     jc  start
  17.     movq    %rbp, %rsp
  18.     popq    %rbp
  19.     ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement