ovf 9150 src/dps8/dps8_eis.c ovf 9231 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 3359 src/dps8/dps8_ins.c bool ovf; ovf 3364 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 3368 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adq overflow fault"); ovf 3601 src/dps8/dps8_ins.c bool ovf; ovf 3602 src/dps8/dps8_ins.c cpu.rA = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); ovf 3606 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lca overflow fault"); ovf 3612 src/dps8/dps8_ins.c bool ovf; ovf 3613 src/dps8/dps8_ins.c cpu.rQ = compl36 (cpup, cpu.CY, & cpu.cu.IR, & ovf); ovf 3617 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lcq overflow fault"); ovf 3631 src/dps8/dps8_ins.c bool ovf; ovf 3633 src/dps8/dps8_ins.c cpu.rX[n] = compl18 (cpup, GETHI (cpu.CY), & cpu.cu.IR, & ovf); ovf 3637 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "lcxn overflow fault"); ovf 4578 src/dps8/dps8_ins.c bool ovf; ovf 4579 src/dps8/dps8_ins.c cpu.rA = Add36b (cpup, cpu.rA, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4583 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "ada overflow fault"); ovf 4595 src/dps8/dps8_ins.c bool ovf; ovf 4598 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4604 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adaq overflow fault"); ovf 4616 src/dps8/dps8_ins.c bool ovf; ovf 4619 src/dps8/dps8_ins.c tmp72, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4625 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adl overflow fault"); ovf 4640 src/dps8/dps8_ins.c bool ovf; ovf 4644 src/dps8/dps8_ins.c tmp72, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4664 src/dps8/dps8_ins.c bool ovf; ovf 4665 src/dps8/dps8_ins.c cpu.rA = Add36b (cpup, cpu.rA, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4683 src/dps8/dps8_ins.c bool ovf; ovf 4684 src/dps8/dps8_ins.c cpu.rQ = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNC, & cpu.cu.IR, & ovf); ovf 4706 src/dps8/dps8_ins.c bool ovf; ovf 4708 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4733 src/dps8/dps8_ins.c bool ovf; ovf 4736 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4740 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "adxn overflow fault"); ovf 4755 src/dps8/dps8_ins.c bool ovf; ovf 4757 src/dps8/dps8_ins.c & cpu.cu.IR, & ovf); ovf 4758 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asa overflow fault"); ovf 4769 src/dps8/dps8_ins.c bool ovf; ovf 4770 src/dps8/dps8_ins.c cpu.CY = Add36b (cpup, cpu.rQ, cpu.CY, 0, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4771 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asq overflow fault"); ovf 4792 src/dps8/dps8_ins.c bool ovf; ovf 4794 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4796 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "asxn overflow fault"); ovf 4809 src/dps8/dps8_ins.c bool ovf; ovf 4811 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4815 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "awca overflow fault"); ovf 4828 src/dps8/dps8_ins.c bool ovf; ovf 4830 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 4834 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "awcq overflow fault"); ovf 4848 src/dps8/dps8_ins.c bool ovf; ovf 4849 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4853 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sba overflow fault"); ovf 4865 src/dps8/dps8_ins.c bool ovf; ovf 4869 src/dps8/dps8_ins.c & ovf); ovf 4875 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbaq overflow fault"); ovf 4887 src/dps8/dps8_ins.c bool ovf; ovf 4888 src/dps8/dps8_ins.c cpu.rA = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); ovf 4908 src/dps8/dps8_ins.c bool ovf; ovf 4912 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); ovf 4928 src/dps8/dps8_ins.c bool ovf; ovf 4929 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNC, & cpu.cu.IR, & ovf); ovf 4954 src/dps8/dps8_ins.c bool ovf; ovf 4956 src/dps8/dps8_ins.c I_ZNC, & cpu.cu.IR, & ovf); ovf 4970 src/dps8/dps8_ins.c bool ovf; ovf 4971 src/dps8/dps8_ins.c cpu.rQ = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 4975 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbq overflow fault"); ovf 4997 src/dps8/dps8_ins.c bool ovf; ovf 4999 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5003 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "sbxn overflow fault"); ovf 5015 src/dps8/dps8_ins.c bool ovf; ovf 5016 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rA, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 5017 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssa overflow fault"); ovf 5029 src/dps8/dps8_ins.c bool ovf; ovf 5030 src/dps8/dps8_ins.c cpu.CY = Sub36b (cpup, cpu.rQ, cpu.CY, 1, I_ZNOC, & cpu.cu.IR, & ovf); ovf 5031 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssq overflow fault"); ovf 5053 src/dps8/dps8_ins.c bool ovf; ovf 5055 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5057 src/dps8/dps8_ins.c overflow (cpup, ovf, true, "ssxn overflow fault"); ovf 5070 src/dps8/dps8_ins.c bool ovf; ovf 5072 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5076 src/dps8/dps8_ins.c overflow (cpup, ovf, false, "swca overflow fault"); ovf 5089 src/dps8/dps8_ins.c bool ovf; ovf 5091 src/dps8/dps8_ins.c I_ZNOC, & cpu.cu.IR, & ovf); ovf 5095 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 172 src/dps8/dps8_utils.c word36 Add36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 203 src/dps8/dps8_utils.c * ovf = r37 ^ r36; ovf 213 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 228 src/dps8/dps8_utils.c if (* ovf) ovf 248 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "Add36b res %012"PRIo64" flags %06o ovf %o\n", res, * flags, * ovf); ovf 252 src/dps8/dps8_utils.c word36 Sub36b (cpu_state_t * cpup, word36 op1, word36 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 291 src/dps8/dps8_utils.c * ovf = r37 ^ r36; ovf 298 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 313 src/dps8/dps8_utils.c if (* ovf) ovf 336 src/dps8/dps8_utils.c word18 Add18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 367 src/dps8/dps8_utils.c * ovf = r19 ^ r18; ovf 374 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 389 src/dps8/dps8_utils.c if (* ovf) ovf 412 src/dps8/dps8_utils.c word18 Sub18b (cpu_state_t * cpup, word18 op1, word18 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 451 src/dps8/dps8_utils.c * ovf = r19 ^ r18; ovf 458 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 473 src/dps8/dps8_utils.c if (* ovf) ovf 496 src/dps8/dps8_utils.c word72 Add72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 557 src/dps8/dps8_utils.c * ovf = r73 ^ r72; ovf 564 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 579 src/dps8/dps8_utils.c if (* ovf) ovf 610 src/dps8/dps8_utils.c word72 Sub72b (cpu_state_t * cpup, word72 op1, word72 op2, word1 carryin, word18 flagsToSet, word18 * flags, bool * ovf) ovf 693 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); ovf 696 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); ovf 723 src/dps8/dps8_utils.c * ovf = r73 ^ r72; ovf 730 src/dps8/dps8_utils.c if (ovf) CPT (cpt2L, 29); // ovf ovf 745 src/dps8/dps8_utils.c if (* ovf) ovf 775 src/dps8/dps8_utils.c (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf); ovf 778 src/dps8/dps8_utils.c (word36) ((res >> 36) & MASK36), (word36) (res & MASK36), * flags, * ovf); ovf 784 src/dps8/dps8_utils.c word36 compl36(cpu_state_t * cpup, word36 op1, word18 *flags, bool * ovf) ovf 795 src/dps8/dps8_utils.c * ovf = op1 == MAXNEG; ovf 798 src/dps8/dps8_utils.c if (* ovf) CPT (cpt2L, 29); // ovf ovf 803 src/dps8/dps8_utils.c if (chkOVF (cpup) && * ovf) ovf 820 src/dps8/dps8_utils.c word18 compl18(cpu_state_t * cpup, word18 op1, word18 *flags, bool * ovf) ovf 831 src/dps8/dps8_utils.c * ovf = op1 == MAX18NEG; ovf 833 src/dps8/dps8_utils.c if (* ovf) CPT (cpt2L, 29); // ovf ovf 838 src/dps8/dps8_utils.c if (chkOVF (cpup) && * ovf) ovf 2022 src/dps8/dps8_utils.c ovf 2031 src/dps8/dps8_utils.c ovf 2044 src/dps8/dps8_utils.c ovf 2049 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);