|
|
1.1 ! root 1: #include "../machine/alignment.h" ! 2: cvt(infop) process_info *infop; ! 3: /* ! 4: /* Convert , checks overflow ! 5: /* ! 6: /****************************************/ ! 7: { ! 8: register long result; ! 9: ! 10: result = operand(infop,0)->data; ! 11: if (result < 0 ) negative_1 ; else negative_0; ! 12: if (result == 0 ) zero_1 ; else zero_0; ! 13: carry_1; overflow_0; ! 14: /* Overflow may be set by writing back */ ! 15: write_back (infop, result, operand(infop,1) ); ! 16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.