summaryrefslogtreecommitdiff
path: root/tests/lib/libc/arch/vax/return_one.S
blob: c42f891ded9166e1cc83aa42038e7d9eae1c457b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$NetBSD: return_one.S,v 1.2 2019/02/14 10:36:33 mrg Exp $ */

#include <machine/asm.h>

.globl	return_one, return_one_end;

return_one:
	.word 0
	subl2 $4,%sp
	movl $1,%r0
	ret
return_one_end: