summaryrefslogtreecommitdiff
path: root/tests/lib/libc/arch/sparc/return_one.S
blob: d254ba5be54294ff6480cc8c911af7639911284c (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$NetBSD: return_one.S,v 1.2 2018/01/14 19:59:51 martin Exp $ */

#include <machine/asm.h>

.global	return_one_end

ENTRY(return_one)
return_one:
	retl
	 mov 1, %o0
return_one_end: