	.section	.text
	.intel_syntax
	.global halt
halt:
	mov	%eax, 1			# System call number
	.ifdef	NetBSD
	push	[%esp + 8]		# Argument
	push	0			# Extra double-word
	.else
	mov	%ebx, [%esp + 8]	# Argument
	.endif
	int	128
