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

		GLOBAL	_api_drawgraph

[SECTION .text]

_api_drawgraph:		; void api_drawgraph(int win, char *graph, int x, int y, int gxsize, int gysize);
		PUSH	EDI
		PUSH	ESI
		PUSH	EBP
		PUSH	EBX
		MOV		EDX,42
		MOV		EBX,[ESP+20]	; win
		MOV		EAX,[ESP+24]	; graph
		MOV		ECX,[ESP+28]	; x
		MOV		ESI,[ESP+32]	; y
		MOV		EDI,[ESP+36]	; gxsize
		MOV		EBP,[ESP+40]	; gysize
		INT		0x40
		POP		EBX
		POP		EBP
		POP		ESI
		POP		EDI
		RET
