-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_memcpy.s
27 lines (23 loc) · 1.06 KB
/
ft_memcpy.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
; **************************************************************************** #
; #
; ::: :::::::: #
; ft_memcpy.s :+: :+: :+: #
; +:+ +:+ +:+ #
; By: vtarasiu <[email protected]> +#+ +:+ +#+ #
; +#+#+#+#+#+ +#+ #
; Created: 2019/07/20 19:52:46 by vtarasiu #+# #+# #
; Updated: 2019/07/20 20:29:30 by vtarasiu ### ########.fr #
; #
; **************************************************************************** #
_ft_memcpy:
push rbp
mov rbp, rsp
push rdi
push rsi
mov rcx, rdx
rep movsb
pop rsi
pop rdi
mov rax, rdi
pop rbp
ret