xref: /csrg-svn/sys/tahoe/align/Apushx.c (revision 29627)
1*29627Ssam /*	Apushx.c	1.1	86/07/20	*/
2*29627Ssam 
3*29627Ssam #include "../tahoealign/align.h"
4*29627Ssam pushx(infop)	process_info *infop;
5*29627Ssam /*
6*29627Ssam /*	Push operand on the stack.
7*29627Ssam /*
8*29627Ssam /******************************************/
9*29627Ssam {
10*29627Ssam 	register long quantity;
11*29627Ssam 
12*29627Ssam 	quantity = operand(infop,0)->data ;
13*29627Ssam 	if (quantity < 0) negative_1; else negative_0;
14*29627Ssam 	if (quantity == 0) zero_1; else zero_0;
15*29627Ssam 	overflow_0; carry_1;
16*29627Ssam 	push (infop, quantity);
17*29627Ssam }
18