xref: /csrg-svn/sys/tahoe/align/Aadda.c (revision 45760)
1*45760Sbostic /*-
2*45760Sbostic  * Copyright (c) 1986 The Regents of the University of California.
3*45760Sbostic  * All rights reserved.
4*45760Sbostic  *
5*45760Sbostic  * This code is derived from software contributed to Berkeley by
6*45760Sbostic  * Computer Consoles Inc.
7*45760Sbostic  *
8*45760Sbostic  * %sccs.include.redist.c%
9*45760Sbostic  *
10*45760Sbostic  *	@(#)Aadda.c	7.1 (Berkeley) 12/06/90
11*45760Sbostic  */
1229584Ssam 
1345699Sbostic #include "align.h"
adda(infop)1429584Ssam adda(infop)	process_info *infop;
1529584Ssam /*
1629584Ssam /*	Add address.
1729584Ssam /*
1829584Ssam /************************/
1929584Ssam {
2029584Ssam 	register long result;
2129584Ssam 
2229584Ssam 	result = operand(infop,1)->data + operand(infop,0)->data;
2329584Ssam 	write_back (infop,result, operand(infop,1));
2429584Ssam }
25