ovf 9161 src/dps8/dps8_eis.c ovf 9242 src/dps8/dps8_eis.c ovf 2331 src/dps8/dps8_ins.c static inline void overflow (cpu_state_t * cpup, bool ovf, bool dly, const char * msg) ovf 2336 src/dps8/dps8_ins.c if (ovf && chkOVF (cpup)) ovf 3050 src/dps8/dps8_ins.c bool ovf; ovf 3052 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 3053 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "aos overflow fault"); ovf 3360 src/dps8/dps8_ins.c bool ovf; ovf 3365 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 3369 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adq overflow fault"); ovf 3602 src/dps8/dps8_ins.c bool ovf; ovf 3603 src/dps8/dps8_ins.c cpu.rA = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); ovf 3607 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lca overflow fault"); ovf 3613 src/dps8/dps8_ins.c bool ovf; ovf 3614 src/dps8/dps8_ins.c cpu.rQ = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); ovf 3618 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lcq overflow fault"); ovf 3632 src/dps8/dps8_ins.c bool ovf; ovf 3634 src/dps8/dps8_ins.c cpu.rX[n] = compl18 (cpup, GETHI (cpu.CY), & cpu.cu.IR, & ovf); ovf 3638 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lcxn overflow fault"); ovf 4579 src/dps8/dps8_ins.c bool ovf; ovf 4580 src/dps8/dps8_ins.c cpu.rA = Add36b (cpup, cpu.rA, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4584 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "ada overflow fault"); ovf 4596 src/dps8/dps8_ins.c bool ovf; ovf 4599 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4605 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adaq overflow fault"); ovf 4617 src/dps8/dps8_ins.c bool ovf; ovf 4620 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4626 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adl overflow fault"); ovf 4641 src/dps8/dps8_ins.c bool ovf; ovf 4645 src/dps8/dps8_ins.c tmp72, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4665 src/dps8/dps8_ins.c bool ovf; ovf 4666 src/dps8/dps8_ins.c cpu.rA = Add36b (cpup, cpu.rA, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4684 src/dps8/dps8_ins.c bool ovf; ovf 4685 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4707 src/dps8/dps8_ins.c bool ovf; ovf 4709 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4734 src/dps8/dps8_ins.c bool ovf; ovf 4737 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4741 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adxn overflow fault"); ovf 4756 src/dps8/dps8_ins.c bool ovf; ovf 4758 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4759 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asa overflow fault"); ovf 4770 src/dps8/dps8_ins.c bool ovf; ovf 4771 src/dps8/dps8_ins.c cpu.CY = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4772 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asq overflow fault"); ovf 4793 src/dps8/dps8_ins.c bool ovf; ovf 4795 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4797 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asxn overflow fault"); ovf 4810 src/dps8/dps8_ins.c bool ovf; ovf 4812 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4816 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "awca overflow fault"); ovf 4829 src/dps8/dps8_ins.c bool ovf; ovf 4831 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4835 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "awcq overflow fault"); ovf 4849 src/dps8/dps8_ins.c bool ovf; ovf 4850 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4854 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sba overflow fault"); ovf 4866 src/dps8/dps8_ins.c bool ovf; ovf 4870 src/dps8/dps8_ins.c & ovf); ovf 4876 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbaq overflow fault"); ovf 4888 src/dps8/dps8_ins.c bool ovf; ovf 4889 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); ovf 4909 src/dps8/dps8_ins.c bool ovf; ovf 4913 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); ovf 4929 src/dps8/dps8_ins.c bool ovf; ovf 4930 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); ovf 4955 src/dps8/dps8_ins.c bool ovf; ovf 4957 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); ovf 4971 src/dps8/dps8_ins.c bool ovf; ovf 4972 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4976 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbq overflow fault"); ovf 4998 src/dps8/dps8_ins.c bool ovf; ovf 5000 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5004 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbxn overflow fault"); ovf 5016 src/dps8/dps8_ins.c bool ovf; ovf 5017 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 5018 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssa overflow fault"); ovf 5030 src/dps8/dps8_ins.c bool ovf; ovf 5031 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 5032 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssq overflow fault"); ovf 5054 src/dps8/dps8_ins.c bool ovf; ovf 5056 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5058 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssxn overflow fault"); ovf 5071 src/dps8/dps8_ins.c bool ovf; ovf 5073 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5077 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "swca overflow fault"); ovf 5090 src/dps8/dps8_ins.c bool ovf; ovf 5092 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5096 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "swcq overflow fault"); ovf 604 src/dps8/dps8_math.c bool ovf; ovf 606 src/dps8/dps8_math.c m3 = Add72b (cpup, m1, m2, 0, I_CARRY, & cpu.cu.IR, & ovf); ovf 612 src/dps8/dps8_math.c if (ovf) { ovf 1562 src/dps8/dps8_math.c bool ovf; ovf 1575 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); ovf 1577 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); ovf 1593 src/dps8/dps8_math.c SC_I_OFLOW(ovf); ovf 1634 src/dps8/dps8_math.c bool ovf; ovf 1647 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177777777777777LL), carry, I_OFLOW, & flags1, & ovf); ovf 1649 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177777777777777LL, carry, I_OFLOW, & flags1, & ovf); ovf 1665 src/dps8/dps8_math.c SC_I_OFLOW(ovf); ovf 2126 src/dps8/dps8_math.c bool ovf; ovf 2127 src/dps8/dps8_math.c word72 m3 = Add72b (cpup, m1, m2, 0, I_CARRY, & cpu.cu.IR, & ovf); ovf 2131 src/dps8/dps8_math.c if (ovf) { ovf 3173 src/dps8/dps8_math.c bool ovf; ovf 3186 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); ovf 3188 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177, carry, I_OFLOW, & flags1, & ovf); ovf 3204 src/dps8/dps8_math.c SC_I_OFLOW (ovf); ovf 3261 src/dps8/dps8_math.c bool ovf; ovf 3274 src/dps8/dps8_math.c m = Add72b (cpup, m, construct_128 (0, 0177), carry, I_OFLOW, & flags1, & ovf); ovf 3276 src/dps8/dps8_math.c m = Add72b (cpup, m, 0177, carry, I_OFLOW, & flags1, & ovf); ovf 3293 src/dps8/dps8_math.c SC_I_OFLOW(ovf); ovf 173 src/dps8/dps8_utils.c word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 204 src/dps8/dps8_utils.c * ovf = r37 ^ r36; ovf 214 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 229 src/dps8/dps8_utils.c if (* ovf) ovf 249 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Add36b res %012"PRIo64" flags %06o ovf %o\n", res, * flags, * ovf); ovf 253 src/dps8/dps8_utils.c word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 292 src/dps8/dps8_utils.c * ovf = r37 ^ r36; ovf 299 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 314 src/dps8/dps8_utils.c if (* ovf) ovf 337 src/dps8/dps8_utils.c word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 368 src/dps8/dps8_utils.c * ovf = r19 ^ r18; ovf 375 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 390 src/dps8/dps8_utils.c if (* ovf) ovf 413 src/dps8/dps8_utils.c word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 452 src/dps8/dps8_utils.c * ovf = r19 ^ r18; ovf 459 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 474 src/dps8/dps8_utils.c if (* ovf) ovf 497 src/dps8/dps8_utils.c word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 558 src/dps8/dps8_utils.c * ovf = r73 ^ r72; ovf 565 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 580 src/dps8/dps8_utils.c if (* ovf) ovf 611 src/dps8/dps8_utils.c word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 694 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); ovf 697 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); ovf 724 src/dps8/dps8_utils.c * ovf = r73 ^ r72; ovf 731 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 746 src/dps8/dps8_utils.c if (* ovf) ovf 776 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); ovf 779 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); ovf 785 src/dps8/dps8_utils.c word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf) ovf 796 src/dps8/dps8_utils.c * ovf = op1 == MAXNEG; ovf 799 src/dps8/dps8_utils.c if (* ovf) CPT (cpt2L, 29); // ovf ovf 804 src/dps8/dps8_utils.c if (chkOVF (cpup) && * ovf) ovf 821 src/dps8/dps8_utils.c word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf) ovf 832 src/dps8/dps8_utils.c * ovf = op1 == MAX18NEG; ovf 834 src/dps8/dps8_utils.c if (* ovf) CPT (cpt2L, 29); // ovf ovf 839 src/dps8/dps8_utils.c if (chkOVF (cpup) && * ovf) ovf 2023 src/dps8/dps8_utils.c ovf 2032 src/dps8/dps8_utils.c ovf 2045 src/dps8/dps8_utils.c ovf 2050 src/dps8/dps8_utils.c ovf 50 src/dps8/dps8_utils.h word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf); ovf 51 src/dps8/dps8_utils.h word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf); ovf 889 src/dps8/dps8_utils.h word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 890 src/dps8/dps8_utils.h word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 891 src/dps8/dps8_utils.h word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 892 src/dps8/dps8_utils.h word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 893 src/dps8/dps8_utils.h word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 894 src/dps8/dps8_utils.h word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf); ovf 900 src/dps8/dps8_utils.h void currentTR (word27 * trunits, bool * ovf);