1*29601Ssam /* Acvt.c 1.1 86/07/20 */ 2*29601Ssam 3*29601Ssam #include "../tahoealign/align.h" 4*29601Ssam cvt(infop) process_info *infop; 5*29601Ssam /* 6*29601Ssam /* Convert , checks overflow 7*29601Ssam /* 8*29601Ssam /****************************************/ 9*29601Ssam { 10*29601Ssam register long result; 11*29601Ssam 12*29601Ssam result = operand(infop,0)->data; 13*29601Ssam if (result < 0 ) negative_1 ; else negative_0; 14*29601Ssam if (result == 0 ) zero_1 ; else zero_0; 15*29601Ssam carry_1; overflow_0; 16*29601Ssam /* Overflow may be set by writing back */ 17*29601Ssam write_back (infop, result, operand(infop,1) ); 18*29601Ssam } 19