Advertisement
swarley

Untitled

Sep 3rd, 2012
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #ifdef TEST
  2. .globl memset_
  3. memset_:
  4. #else
  5. .globl memset
  6. memset:
  7. #endif
  8. #ifdef __x86_64__
  9. push %rdi
  10. mov %sil, %al
  11. movq %rdx, %rcx
  12. rep stosb
  13. pop %rax
  14. ret
  15. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement