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 * @(#)Astd.c 7.1 (Berkeley) 12/06/90 11 */ 12 13 #include "align.h" std(infop)14std(infop) process_info *infop; 15 /* 16 /* Store accumulator (double) in destination. 17 /* 18 /*************************************************/ 19 { 20 quadword ac; 21 22 ac.high = acc_high; 23 ac.low = acc_low; 24 write_quadword (infop, ac, operand(infop,0) ); 25 if (ac.high < 0) negative_1; else negative_0; 26 if ( (ac.high & 0xff800000) == 0 ) zero_1; else zero_0; 27 carry_1; 28 overflow_0; 29 } 30