	.global	_write
_write:
	push	%ebx
	mov	$4, %eax	# system call number (write)
	mov	8(%esp), %ebx	# 1st argument (file descriptor)
	mov	12(%esp), %ecx	# 2nd argument (message)
	mov	16(%esp), %edx	# 3rd argument (message length)
	int	$0x80		# system call
	pop	%ebx
	ret
