xref: /original-bsd/sys/tahoe/align/Apush.c (revision 6884d44a)
1 /*-
2  * Copyright (c) 1986 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Computer Consoles Inc.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)Apush.c	7.1 (Berkeley) 12/06/90
11  */
12 
13 #include	"align.h"
14 
15 push (infop,longword)	process_info *infop;
16 int	longword;
17 /*
18 /*	Push the given datum on the current stack.
19 /*
20 /******************************************/
21 {
22 
23 	struct oprnd temp;
24 
25 	temp.mode = Add | W;
26 	sp -= 4;
27 	temp.address = sp;
28 	temp.length = 4;
29 	write_back(infop,longword, &temp) ;
30 }
31