[FORMAT "WCOFF"]
[INSTRSET "i486p"]
[BITS 32]
[FILE "api036.nas"]

		GLOBAL	_api_getdir

[SECTION .text]

_api_getdir:		; void api_getdir(char *buf, int num);
		PUSH	EBX
		MOV		EDX,36
		MOV		ECX,[ESP+12]		; num
		MOV		EBX,[ESP+ 8]		; buf
		INT		0x40
		POP		EBX
		RET
