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 * @(#)Aldf.c 7.1 (Berkeley) 12/06/90 11 */ 12 13 #include "align.h" ldf(infop)14ldf(infop) process_info *infop; 15 /* 16 /* Load a float operand into accumulator. 17 /* 18 /*************************************************/ 19 { 20 21 register struct oprnd *oprnd_pnt; 22 23 oprnd_pnt = operand(infop,0); 24 if ( reserved( oprnd_pnt->data ) ) 25 exception(infop, ILL_OPRND); 26 if ( (oprnd_pnt->data & 0xff800000) == 0 ) acc_high = 0; 27 else acc_high = oprnd_pnt->data ; 28 psl &= ~PSL_DBL; 29 infop->acc_dbl = 0; 30 } 31