xref: /original-bsd/lib/libcompat/4.3/hp300/insque.s (revision e1db577d)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * the Systems Programming Group of the University of Utah Computer
7 * Science Department.
8 *
9 * %sccs.include.redist.c%
10 */
11
12#if defined(LIBC_SCCS) && !defined(lint)
13	.asciz "@(#)insque.s	5.1 (Berkeley) 05/12/90"
14#endif /* LIBC_SCCS and not lint */
15
16/* insque(new, pred) */
17
18#include "DEFS.h"
19
20ENTRY(insque)
21	movl	sp@(8),a0
22	movl	sp@(4),a1
23	movl	a0@,a1@
24	movl	a0,a1@(4)
25	movl	a1,a0@
26	movl	a1@,a0
27	movl	a1,a0@(4)
28	rts
29