mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-19 05:12:45 +03:00
12 lines
181 B
NASM
12 lines
181 B
NASM
|
format MS COFF
|
||
|
section '.text' code readable executable
|
||
|
public _memset
|
||
|
_memset:
|
||
|
push edi
|
||
|
mov edi, [esp+8]
|
||
|
mov al, [esp+12]
|
||
|
mov ecx, [esp+16]
|
||
|
rep stosb
|
||
|
pop edi
|
||
|
ret
|