2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2025-01-30 01:00:08 +01:00

36 lines
962 B
PHP
Raw Normal View History

2024-06-12 18:02:32 -04:00
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
;; Copyright (C) KolibriOS team 2004-2024. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;;
;; ;;
;; GNU GENERAL PUBLIC LICENSE ;;
;; Version 2, June 1991 ;;
;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2024-07-08 15:49:43 -04:00
proc memsetdz stdcall, dest:dword, sz:dword
2024-06-12 18:02:32 -04:00
push edi
mov edi, [dest]
mov ecx, [sz]
2024-07-08 15:49:43 -04:00
xor eax, eax
rep stosd
2024-06-12 18:02:32 -04:00
pop edi
ret
endp
2024-08-01 12:02:07 -04:00
proc memcpyd stdcall, dest:dword, src:dword, sz:dword
2024-06-12 18:02:32 -04:00
push esi edi
mov esi, [src]
mov edi, [dest]
mov ecx, [sz]
2024-08-01 12:02:07 -04:00
rep movsd
2024-06-12 18:02:32 -04:00
pop edi esi
ret
endp
2024-07-30 12:39:00 -04:00
; vim: syntax=fasm