date and time created 90/05/12 15:47:34 by bostic
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 13 May 1990 06:47:34 +0000 (22:47 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 13 May 1990 06:47:34 +0000 (22:47 -0800)
SCCS-vsn: lib/libcompat/4.3/hp300/insque.s 5.1

usr/src/lib/libcompat/4.3/hp300/insque.s [new file with mode: 0644]

diff --git a/usr/src/lib/libcompat/4.3/hp300/insque.s b/usr/src/lib/libcompat/4.3/hp300/insque.s
new file mode 100644 (file)
index 0000000..6234183
--- /dev/null
@@ -0,0 +1,28 @@
+/*-
+ * Copyright (c) 1990 The Regents of the University of California.
+ * All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * the Systems Programming Group of the University of Utah Computer
+ * Science Department.
+ *
+ * %sccs.include.redist.c%
+ */
+
+#if defined(LIBC_SCCS) && !defined(lint)
+       .asciz "@(#)insque.s    5.1 (Berkeley) %G%"
+#endif /* LIBC_SCCS and not lint */
+
+/* insque(new, pred) */
+
+#include "DEFS.h"
+
+ENTRY(insque)
+       movl    sp@(8),a0
+       movl    sp@(4),a1
+       movl    a0@,a1@
+       movl    a0,a1@(4)
+       movl    a1,a0@
+       movl    a1@,a0
+       movl    a1,a0@(4)
+       rts