	.386
	.model use32 small
	public _memset
	.code
_memset:
	push	ebp
	mov	ebp,esp
	push	edi
	mov	ecx,[16+ebp]
	mov	eax,[12+ebp]
	mov	edi,[8+ebp]
	cld
	rep	stosb
	mov	eax,[8+ebp]
	pop	edi
	pop	ebp
	ret
	end