xref: /original-bsd/sys/tahoe/align/Aldd.c (revision 4cda19ca)
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  *	@(#)Aldd.c	7.1 (Berkeley) 12/06/90
11  */
12 
13 #include "align.h"
14 ldd(infop)	process_info *infop;
15 /*
16 /*	Load a double operand into accumulator.
17 /*
18 /*************************************************/
19 {
20 	register struct oprnd *oprnd_pnt;
21 
22 	oprnd_pnt = operand(infop,0);
23 	if ( reserved( oprnd_pnt->data ) )
24 		exception(infop, ILL_OPRND);
25 	acc_high = oprnd_pnt->data ;
26 	acc_low = oprnd_pnt->data2 ;
27 	psl |= PSL_DBL;
28 	infop->acc_dbl = 1;
29 }
30