	global _start

section .data
	buffer	dw	1,2,3,4,5,6

section .text

_start:
	mov ecx, buffer[1]
	call write
	jmp exit

exit:
	mov		eax, 01h		; exit()
	xor		ebx, ebx		; errno
	int		80h


read:
	mov		eax, 03h		; read()
	mov		ebx, 00h		; stdin
	int		80h
	ret
write:
	mov		eax, 04h		; write()
	mov		ebx, 01h		; stdout
	int		80h
	ret